Spaces:
Running
Running
Download app_sambanova_qwen.py from akhaliq/anycoder: direct link, hf CLI and curl.
- Browser
- Download file 425 Bytes
-
https://huggingface.co/spaces/akhaliq/anycoder/resolve/8e91eb08d92cc4a86494fb282e92a2486b814827/app_sambanova_qwen.py
- Command line
-
hf download hf://spaces/akhaliq/anycoder@8e91eb08d92cc4a86494fb282e92a2486b814827/app_sambanova_qwen.py
-
curl -L -o app_sambanova_qwen.py https://huggingface.co/spaces/akhaliq/anycoder/resolve/8e91eb08d92cc4a86494fb282e92a2486b814827/app_sambanova_qwen.py
425 Bytes
| import os | |
| import sambanova_gradio | |
| from utils import get_app | |
| demo = get_app( | |
| models=[ | |
| "Qwen2.5-Coder-0.5B-Instruct", | |
| "Qwen2.5-0.5B-Instruct", | |
| "Qwen2.5-Coder-32B-Instruct", | |
| "Qwen2.5-72B-Instruct", | |
| ], | |
| default_model="Qwen2.5-Coder-32B-Instruct", | |
| src=sambanova_gradio.registry, | |
| accept_token=not os.getenv("SAMBANOVA_API_KEY"), | |
| ) | |
| if __name__ == "__main__": | |
| demo.launch() | |