Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- app.py +25 -29
- requirements.txt +1 -16
app.py
CHANGED
|
@@ -1,31 +1,27 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
|
|
|
| 5 |
|
| 6 |
-
#
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
initialize_comfyui_docs,
|
| 10 |
-
initialize_fastrtc_docs
|
| 11 |
-
)
|
| 12 |
-
from anycoder_app.ui import demo
|
| 13 |
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
)
|
|
|
|
| 1 |
+
# requirements.txt - Cleaned up and organized
|
| 2 |
+
# Core frameworks
|
| 3 |
+
fastapi==0.112.2
|
| 4 |
+
uvicorn[standard]==0.30.1
|
| 5 |
+
httpx>=0.27.0
|
| 6 |
|
| 7 |
+
# HuggingFace
|
| 8 |
+
git+https://github.com/huggingface/huggingface_hub.git
|
| 9 |
+
gradio[oauth]>=6.0.0
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
+
# AI/ML clients
|
| 12 |
+
openai>=1.0.0
|
| 13 |
+
mistralai>=1.0.0
|
| 14 |
+
dashscope>=1.0.0
|
| 15 |
+
google-genai>=1.0.0
|
| 16 |
+
|
| 17 |
+
# Document processing
|
| 18 |
+
PyPDF2>=3.0.0
|
| 19 |
+
python-docx>=1.0.0
|
| 20 |
+
pytesseract>=0.3.10
|
| 21 |
+
Pillow>=10.0.0
|
| 22 |
+
opencv-python>=4.8.0
|
| 23 |
+
|
| 24 |
+
# Web scraping
|
| 25 |
+
requests>=2.31.0
|
| 26 |
+
beautifulsoup4>=4.12.0
|
| 27 |
+
html2text>=2020.1.16
|
|
|
requirements.txt
CHANGED
|
@@ -1,16 +1 @@
|
|
| 1 |
-
|
| 2 |
-
gradio[oauth]
|
| 3 |
-
fastapi==0.112.2
|
| 4 |
-
httpx>=0.27.0
|
| 5 |
-
PyPDF2
|
| 6 |
-
python-docx
|
| 7 |
-
pytesseract
|
| 8 |
-
Pillow
|
| 9 |
-
opencv-python
|
| 10 |
-
requests
|
| 11 |
-
beautifulsoup4
|
| 12 |
-
html2text
|
| 13 |
-
openai
|
| 14 |
-
mistralai
|
| 15 |
-
dashscope
|
| 16 |
-
google-genai
|
|
|
|
| 1 |
+
# No additional dependencies required
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|