faaizashiq commited on
Commit
9d913f9
·
verified ·
1 Parent(s): 93a79c4

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +10 -11
requirements.txt CHANGED
@@ -1,16 +1,15 @@
1
- # FastAPI replaces Flask & Gunicorn for ZeroGPU compatibility
2
- fastapi>=0.100.0
3
- uvicorn>=0.23.0
4
-
5
- # Environment & External APIs
6
  python-dotenv>=1.0.0
7
  google-generativeai>=0.3.0
 
8
  huggingface_hub>=0.23.0
9
  requests>=2.31.0
10
 
11
- # Hugging Face ZeroGPU SDK
12
- spaces
13
-
14
- # llama-cpp-python Pre-built GPU (CUDA 12.1) wheel for ZeroGPU speed!
15
- --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cu121
16
- llama-cpp-python==0.3.4
 
 
1
+ flask>=3.0.0
2
+ flask-cors>=4.0.0
 
 
 
3
  python-dotenv>=1.0.0
4
  google-generativeai>=0.3.0
5
+ gunicorn>=21.2.0
6
  huggingface_hub>=0.23.0
7
  requests>=2.31.0
8
 
9
+ # NOTE: llama-cpp-python is intentionally excluded here.
10
+ # Compiling it from source exceeds HF Spaces free tier build timeout (~10 min).
11
+ # The AdventureAgent automatically falls back to Gemini when llama-cpp-python
12
+ # is not installed. Set GEMINI_API_KEY as a Space Secret and it works immediately.
13
+ #
14
+ # To enable GGUF support later, use a pre-built wheel:
15
+ # llama-cpp-python==0.3.4 --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu