Spaces:
Running
Running
Download app_cerebras.py from akhaliq/anycoder: direct link, hf CLI and curl.
- Browser
- Download file 338 Bytes
-
https://huggingface.co/spaces/akhaliq/anycoder/resolve/7df9d290f35167f4038752936e7cdd526f113b2c/app_cerebras.py
- Command line
-
hf download hf://spaces/akhaliq/anycoder@7df9d290f35167f4038752936e7cdd526f113b2c/app_cerebras.py
-
curl -L -o app_cerebras.py https://huggingface.co/spaces/akhaliq/anycoder/resolve/7df9d290f35167f4038752936e7cdd526f113b2c/app_cerebras.py
338 Bytes
| import os | |
| import cerebras_gradio | |
| from utils import get_app | |
| demo = get_app( | |
| models=[ | |
| "llama3.1-8b", | |
| "llama3.1-70b", | |
| "llama3.1-405b", | |
| ], | |
| default_model="llama3.1-70b", | |
| src=cerebras_gradio.registry, | |
| accept_token=not os.getenv("CEREBRAS_API_KEY"), | |
| ) | |
| if __name__ == "__main__": | |
| demo.launch() | |