Dhruv Pawar commited on
Commit
fdfe789
·
1 Parent(s): 8e1caab

Fix gradio and huggingface_hub compatibility for HF Spaces

Browse files
Files changed (1) hide show
  1. requirements.txt +11 -4
requirements.txt CHANGED
@@ -1,12 +1,19 @@
1
- # Core Dependencies
2
- gradio>=4.0.0
3
- groq>=0.4.0
4
  python-dotenv>=1.0.0
5
 
 
 
 
6
  # PDF Export (Optional but recommended)
7
  reportlab>=4.0.0
8
 
9
- # Development Dependencies (move to requirements-dev.txt if needed)
 
 
 
 
10
  pytest>=7.4.0
11
  pytest-cov>=4.1.0
12
  black>=23.0.0
 
1
+ # Core Dependencies - Fixed for Hugging Face Spaces
2
+ gradio==5.6.0
3
+ groq>=0.11.0
4
  python-dotenv>=1.0.0
5
 
6
+ # Hugging Face Hub - Pin to avoid HfFolder import error
7
+ huggingface_hub>=0.26.0,<1.0.0
8
+
9
  # PDF Export (Optional but recommended)
10
  reportlab>=4.0.0
11
 
12
+ # Additional utilities
13
+ markdown>=3.5.0
14
+ cachetools>=5.3.0
15
+
16
+ # Development Dependencies (these won't be installed on HF Spaces)
17
  pytest>=7.4.0
18
  pytest-cov>=4.1.0
19
  black>=23.0.0