Spaces:
Running
Running
Download app_hf.py from akhaliq/anycoder: direct link, hf CLI and curl.
- Browser
- Download file 414 Bytes
-
https://huggingface.co/spaces/akhaliq/anycoder/resolve/7360ef050667b29b460267c471b3e3d20a4e782a/app_hf.py
- Command line
-
hf download hf://spaces/akhaliq/anycoder@7360ef050667b29b460267c471b3e3d20a4e782a/app_hf.py
-
curl -L -o app_hf.py https://huggingface.co/spaces/akhaliq/anycoder/resolve/7360ef050667b29b460267c471b3e3d20a4e782a/app_hf.py
414 Bytes
| from utils import get_app | |
| demo = get_app( | |
| models=[ | |
| "microsoft/Phi-3.5-mini-instruct", | |
| "HuggingFaceTB/SmolLM2-1.7B-Instruct", | |
| "google/gemma-2-2b-it", | |
| "openai-community/gpt2", | |
| "microsoft/phi-2", | |
| "TinyLlama/TinyLlama-1.1B-Chat-v1.0", | |
| ], | |
| default_model="HuggingFaceTB/SmolLM2-1.7B-Instruct", | |
| src="models", | |
| ) | |
| if __name__ == "__main__": | |
| demo.launch() | |