ndc8
Refactor application to implement GGUF backend with native transformers support; update requirements and add GGUF-specific entry point
6e96e6e Download app.py from cong182/firstAI: direct link, hf CLI and curl.
- Browser
- Download file 373 Bytes
-
https://huggingface.co/spaces/cong182/firstAI/resolve/main/app.py
- Command line
-
hf download hf://spaces/cong182/firstAI/app.py
-
curl -L -o app.py https://huggingface.co/spaces/cong182/firstAI/resolve/main/app.py
373 Bytes
| #!/usr/bin/env python3 | |
| """ | |
| Entry point for Hugging Face Spaces - GGUF Backend | |
| This file imports and runs the GGUF FastAPI application with native transformers GGUF support | |
| """ | |
| # Import the GGUF backend with native transformers support | |
| from gguf_transformers_backend import app | |
| if __name__ == "__main__": | |
| import uvicorn | |
| uvicorn.run(app, host="0.0.0.0", port=7860) | |