Spaces:
Sleeping
Sleeping
project added
Browse files- app.py +1 -0
- requirements.txt +17 -20
app.py
CHANGED
|
@@ -15,6 +15,7 @@ import numpy as np
|
|
| 15 |
from torchvision import transforms
|
| 16 |
import pathlib
|
| 17 |
|
|
|
|
| 18 |
# Pathlib adjustment for Windows compatibility
|
| 19 |
temp = pathlib.PosixPath
|
| 20 |
pathlib.PosixPath = pathlib.WindowsPath
|
|
|
|
| 15 |
from torchvision import transforms
|
| 16 |
import pathlib
|
| 17 |
|
| 18 |
+
|
| 19 |
# Pathlib adjustment for Windows compatibility
|
| 20 |
temp = pathlib.PosixPath
|
| 21 |
pathlib.PosixPath = pathlib.WindowsPath
|
requirements.txt
CHANGED
|
@@ -1,33 +1,30 @@
|
|
| 1 |
# Core Libraries
|
| 2 |
-
numpy
|
| 3 |
-
pandas
|
| 4 |
-
scipy
|
| 5 |
|
| 6 |
# Machine Learning & Deep Learning
|
| 7 |
-
torch
|
| 8 |
-
torchvision
|
| 9 |
-
transformers
|
| 10 |
-
scikit-learn
|
| 11 |
-
ultralytics
|
| 12 |
|
| 13 |
# Image Processing
|
| 14 |
-
pillow
|
| 15 |
-
opencv-python
|
| 16 |
|
| 17 |
# NLP
|
| 18 |
-
spacy
|
|
|
|
| 19 |
|
| 20 |
# Visualization
|
| 21 |
-
matplotlib
|
| 22 |
|
| 23 |
# Gradio & Audio
|
| 24 |
-
gradio
|
| 25 |
-
gtts
|
| 26 |
|
| 27 |
# API Integration
|
| 28 |
-
groq
|
| 29 |
-
requests
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
spacy
|
| 33 |
-
https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.0.0/en_core_web_sm-3.0.0.tar.gz
|
|
|
|
| 1 |
# Core Libraries
|
| 2 |
+
numpy==1.26.4
|
| 3 |
+
pandas==2.2.2
|
| 4 |
+
scipy==1.13.0
|
| 5 |
|
| 6 |
# Machine Learning & Deep Learning
|
| 7 |
+
torch==2.2.1
|
| 8 |
+
torchvision==0.17.1
|
| 9 |
+
transformers==4.39.3
|
| 10 |
+
scikit-learn==1.4.1.post1
|
| 11 |
+
ultralytics==8.1.27
|
| 12 |
|
| 13 |
# Image Processing
|
| 14 |
+
pillow==10.2.0
|
| 15 |
+
opencv-python==4.9.0.80
|
| 16 |
|
| 17 |
# NLP
|
| 18 |
+
spacy==3.7.4
|
| 19 |
+
https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.7.0/en_core_web_sm-3.7.0-py3-none-any.whl
|
| 20 |
|
| 21 |
# Visualization
|
| 22 |
+
matplotlib==3.8.3
|
| 23 |
|
| 24 |
# Gradio & Audio
|
| 25 |
+
gradio==4.24.0
|
| 26 |
+
gtts==2.5.1
|
| 27 |
|
| 28 |
# API Integration
|
| 29 |
+
groq==0.15.0
|
| 30 |
+
requests==2.31.0
|
|
|
|
|
|
|
|
|
|
|
|