Download app_hf.py from CodeByBB/anycoder: direct link, hf CLI and curl.
- Browser
- Download file 414 Bytes
-
https://huggingface.co/spaces/CodeByBB/anycoder/resolve/2e1c19dedccf6bfeeb433d6626b1293533b14d9e/app_hf.py
- Command line
-
hf download hf://spaces/CodeByBB/anycoder@2e1c19dedccf6bfeeb433d6626b1293533b14d9e/app_hf.py
-
curl -L -o app_hf.py https://huggingface.co/spaces/CodeByBB/anycoder/resolve/2e1c19dedccf6bfeeb433d6626b1293533b14d9e/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() | |