Spaces:
Sleeping
Sleeping
update glm 4.7 to novita
Browse filesFiles changed (2)
- backend_api.py+1-1
- backend_models.py+2-2
97 unmodified lines989910010110210310497 unmodified lines# Define models and languages here to avoid importing Gradio UIAVAILABLE_MODELS = [{"name": "GLM-4.7", "id": "zai-org/GLM-4.7", "description": "GLM-4.7 - Latest GLM model via HuggingFace (Default)", "supports_images": False},{"name": "GLM-4.6", "id": "zai-org/GLM-4.6", "description": "GLM-4.6 model via HuggingFace with Cerebras provider", "supports_images": False},{"name": "GLM-4.6V 👁️", "id": "zai-org/GLM-4.6V:zai-org", "description": "GLM-4.6V vision model - supports image uploads for visual understanding", "supports_images": True},{"name": "DeepSeek V3", "id": "deepseek-ai/DeepSeek-V3", "description": "DeepSeek V3 - Fast model for code generation via HuggingFace Router with Novita provider", "supports_images": False},97 unmodified lines989910010110210310497 unmodified lines# Define models and languages here to avoid importing Gradio UIAVAILABLE_MODELS = [{"name": "GLM-4.7", "id": "zai-org/GLM-4.7", "description": "GLM-4.7 - Latest GLM model via HuggingFace Router with Novita provider (Default)", "supports_images": False},{"name": "GLM-4.6", "id": "zai-org/GLM-4.6", "description": "GLM-4.6 model via HuggingFace with Cerebras provider", "supports_images": False},{"name": "GLM-4.6V 👁️", "id": "zai-org/GLM-4.6V:zai-org", "description": "GLM-4.6V vision model - supports image uploads for visual understanding", "supports_images": True},{"name": "DeepSeek V3", "id": "deepseek-ai/DeepSeek-V3", "description": "DeepSeek V3 - Fast model for code generation via HuggingFace Router with Novita provider", "supports_images": False},
95 unmodified lines9697989910010110210395 unmodified linesreturn "zai-org/GLM-4.5:fireworks-ai"elif model_id == "zai-org/GLM-4.7":# GLM-4.7 needs fastest provider suffixreturn "zai-org/GLM-4.7:fastest"return model_id95 unmodified lines9697989910010110210395 unmodified linesreturn "zai-org/GLM-4.5:fireworks-ai"elif model_id == "zai-org/GLM-4.7":# GLM-4.7 needs novita provider suffixreturn "zai-org/GLM-4.7:novita"return model_id
backend_api.py+1-1
backend_models.py+2-2