Spaces:
Running
Running
Update requirements.txt
Browse files- requirements.txt +10 -11
requirements.txt
CHANGED
|
@@ -1,16 +1,15 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 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 |
-
#
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
#
|
| 15 |
-
|
| 16 |
-
|
|
|
|
|
|
| 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
|