Spaces:
Running
Running
Download app_sambanova_qwen.py from akhaliq/anycoder: direct link, hf CLI and curl.
- Browser
- Download file 445 Bytes
-
https://huggingface.co/spaces/akhaliq/anycoder/resolve/3f9cf44627ce6ec0124dc70417ca2f5bf7d413ef/app_sambanova_qwen.py
- Command line
-
hf download hf://spaces/akhaliq/anycoder@3f9cf44627ce6ec0124dc70417ca2f5bf7d413ef/app_sambanova_qwen.py
-
curl -L -o app_sambanova_qwen.py https://huggingface.co/spaces/akhaliq/anycoder/resolve/3f9cf44627ce6ec0124dc70417ca2f5bf7d413ef/app_sambanova_qwen.py
445 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() | |