smart-swift-tool / config.py
Gertie01's picture
Deploy Gradio app with multiple files
48ae3bc verified
raw
history blame contribute delete
498 Bytes
# config.py
# Model Identifiers
# Note: Using ZeroScope v2 576w as a high-quality open-source proxy model.
# The original Sora 2 is proprietary and capable of longer generations (2 min).
MODEL_ID_T2V = "cerspense/zeroscope_v2_576w"
# Constraints (Must be realistic for free spaces)
MAX_DURATION_SECONDS = 4 # Maximum video duration in seconds (4s is a realistic limit for ZeroScope on free GPU)
# Placeholder paths
ASSETS_DIR = "assets"
DEFAULT_IMAGE_PATH = f"{ASSETS_DIR}/placeholder_image.png"