Download app_hyperbolic.py from CodeByBB/anycoder: direct link, hf CLI and curl.
- Browser
- Download file 776 Bytes
-
https://huggingface.co/spaces/CodeByBB/anycoder/resolve/ef077e2502dcebade97dbba50f4e19371011e7f6/app_hyperbolic.py
- Command line
-
hf download hf://spaces/CodeByBB/anycoder@ef077e2502dcebade97dbba50f4e19371011e7f6/app_hyperbolic.py
-
curl -L -o app_hyperbolic.py https://huggingface.co/spaces/CodeByBB/anycoder/resolve/ef077e2502dcebade97dbba50f4e19371011e7f6/app_hyperbolic.py
776 Bytes
| import os | |
| import hyperbolic_gradio | |
| from utils import get_app | |
| demo = get_app( | |
| models=[ | |
| "Qwen/Qwen2.5-Coder-32B-Instruct", | |
| "meta-llama/Llama-3.2-3B-Instruct", | |
| "meta-llama/Meta-Llama-3.1-8B-Instruct", | |
| "meta-llama/Meta-Llama-3.1-70B-Instruct", | |
| "meta-llama/Meta-Llama-3-70B-Instruct", | |
| "NousResearch/Hermes-3-Llama-3.1-70B", | |
| "Qwen/Qwen2.5-72B-Instruct", | |
| "deepseek-ai/DeepSeek-V2.5", | |
| "meta-llama/Meta-Llama-3.1-405B-Instruct", | |
| "Qwen/QwQ-32B-Preview", | |
| "meta-llama/Llama-3.3-70B-Instruct", | |
| ], | |
| default_model="meta-llama/Llama-3.3-70B-Instruct", | |
| src=hyperbolic_gradio.registry, | |
| accept_token=not os.getenv("HYPERBOLIC_API_KEY"), | |
| ) | |
| if __name__ == "__main__": | |
| demo.launch() | |