Update requirements.txt
Browse files- requirements.txt +20 -4
requirements.txt
CHANGED
@@ -1,4 +1,20 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Core Gradio UI library
|
2 |
+
gradio>=4.0.0,<5.0.0
|
3 |
+
|
4 |
+
# ONNX Runtime GenAI for inference (CPU version)
|
5 |
+
# Use --pre as it's often in pre-release
|
6 |
+
# NOTE: If targeting a GPU Space, change this to onnxruntime-genai-cuda
|
7 |
+
# and update EXECUTION_PROVIDER in app.py to "cuda"
|
8 |
+
onnxruntime-genai --pre
|
9 |
+
|
10 |
+
# Hugging Face Hub for downloading models/files
|
11 |
+
huggingface_hub>=0.20.0
|
12 |
+
|
13 |
+
# ONNX Runtime itself (will be installed as a dependency of onnxruntime-genai,
|
14 |
+
# but specifying can sometimes help resolve version conflicts if needed)
|
15 |
+
# onnxruntime>=1.17.0 # Generally not needed to list explicitly
|
16 |
+
|
17 |
+
# Git LFS is needed by huggingface_hub to download large model files.
|
18 |
+
# It needs to be installed on the Space environment, which is usually handled
|
19 |
+
# by the Hugging Face Spaces infrastructure if not using Docker.
|
20 |
+
# If you encounter download issues, ensure git-lfs is available.
|