Spaces:
Running
Running
Download app_sambanova_qwen.py from akhaliq/anycoder: direct link, hf CLI and curl.
- Browser
- Download file 446 Bytes
-
https://huggingface.co/spaces/akhaliq/anycoder/resolve/260dae3e070c1065bcba965c3929a290ec1c1aef/app_sambanova_qwen.py
- Command line
-
hf download hf://spaces/akhaliq/anycoder@260dae3e070c1065bcba965c3929a290ec1c1aef/app_sambanova_qwen.py
-
curl -L -o app_sambanova_qwen.py https://huggingface.co/spaces/akhaliq/anycoder/resolve/260dae3e070c1065bcba965c3929a290ec1c1aef/app_sambanova_qwen.py
446 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"), | |
| multimodal=True, | |
| ) | |
| if __name__ == "__main__": | |
| demo.launch() | |