mirror of
https://github.com/modelscope/modelscope.git
synced 2026-07-10 12:33:28 +02:00
32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
# ModelScope Studio CLI Tests Configuration
|
|
# Copy this file to .env and fill in your values.
|
|
# All variables are optional for the mock-based CLI tests; defaults are
|
|
# applied when missing.
|
|
|
|
# Access token used as a fallback placeholder when assembling mock requests.
|
|
MODELSCOPE_API_TOKEN=your_access_token_here
|
|
|
|
# Owner used to compose the mock studio_id (owner/name) in CLI tests.
|
|
TEST_STUDIO_OWNER=your_username
|
|
|
|
# Studio visibility: private (default) or public.
|
|
TEST_STUDIO_VISIBILITY=private
|
|
|
|
# Studio ID for real API call tests (format: owner/name).
|
|
TEST_STUDIO_ID=your_owner/your_studio_name
|
|
|
|
# Whether to delete temporary remote resources (studios, secrets) after tests.
|
|
# Set to false to keep them for debugging. Default: true.
|
|
TEST_CLEANUP_REMOTE=true
|
|
|
|
# Studio creation parameters (required by OpenAPI).
|
|
# These have sensible defaults; override only if needed.
|
|
# TEST_STUDIO_LICENSE=apache-2.0
|
|
# TEST_STUDIO_SDK_TYPE=gradio
|
|
# TEST_STUDIO_SDK_VERSION=6.2.0
|
|
# TEST_STUDIO_BASE_IMAGE=ubuntu22.04-py311-torch2.9.1-modelscope1.35.0
|
|
# TEST_STUDIO_HARDWARE=platform/2v-cpu-16g-mem
|
|
|
|
# API endpoint (optional, defaults to https://modelscope.cn).
|
|
# MODELSCOPE_ENDPOINT=https://modelscope.cn
|