Spaces:
Running
Running
Download app_fireworks.py from akhaliq/anycoder: direct link, hf CLI and curl.
- Browser
- Download file 364 Bytes
-
https://huggingface.co/spaces/akhaliq/anycoder/resolve/531b2a0d8df6a156c98c08c19926585f1526bffd/app_fireworks.py
- Command line
-
hf download hf://spaces/akhaliq/anycoder@531b2a0d8df6a156c98c08c19926585f1526bffd/app_fireworks.py
-
curl -L -o app_fireworks.py https://huggingface.co/spaces/akhaliq/anycoder/resolve/531b2a0d8df6a156c98c08c19926585f1526bffd/app_fireworks.py
364 Bytes
| import os | |
| import fireworks_gradio | |
| from utils import get_app | |
| demo = get_app( | |
| models=[ | |
| "f1-preview", | |
| "f1-mini-preview", | |
| "llama-v3p3-70b-instruct", | |
| ], | |
| default_model="llama-v3p3-70b-instruct", | |
| src=fireworks_gradio.registry, | |
| accept_token=not os.getenv("FIREWORKS_API_KEY"), | |
| ) | |
| if __name__ == "__main__": | |
| demo.launch() | |