How to Use Models from Other Sources like Hugging Face?
Upload model through SDK
Step 1: Install the SDK CLI
Copypip install https://s3-han02.fptcloud.com/modelhubsdk/ai-studio/model_space-0.2.5.9-py3-none-any.whlStep 2: Setup environment variables
Copyexport FPT_SPACE_URL="https://ai-api.fptcloud.com"
export FPT_SPACE_TOKEN=""
export FPT_TENANT_ID=""Step 3: Upload model version
Copymodel_space model upload --model-id --version-id --path Last updated
Was this helpful?
