Spaces:
Sleeping
Sleeping
sunnychenxiwang
commited on
Commit
•
b35dd08
1
Parent(s):
2e66d90
- app.py +1 -0
- requirements.txt +4 -4
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import os
|
|
|
2 |
os.system('python install.py')
|
3 |
import gradio as gr
|
4 |
from pipeline.run_pipeline import *
|
|
|
1 |
import os
|
2 |
+
os.system('pip insatll nltk==3.8.1')
|
3 |
os.system('python install.py')
|
4 |
import gradio as gr
|
5 |
from pipeline.run_pipeline import *
|
requirements.txt
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
numpy
|
2 |
timm
|
3 |
-
openmim
|
4 |
torch==1.13.0
|
5 |
torchvision==0.14.0
|
6 |
opencv-python==4.8.1.78
|
@@ -29,6 +29,6 @@ pytest-runner
|
|
29 |
ubelt
|
30 |
xdoctest >= 0.10.0
|
31 |
yapf
|
32 |
-
openai
|
33 |
-
nltk
|
34 |
-
pillow
|
|
|
1 |
numpy
|
2 |
timm
|
3 |
+
openmim==0.3.9
|
4 |
torch==1.13.0
|
5 |
torchvision==0.14.0
|
6 |
opencv-python==4.8.1.78
|
|
|
29 |
ubelt
|
30 |
xdoctest >= 0.10.0
|
31 |
yapf
|
32 |
+
openai==1.3.3
|
33 |
+
nltk==3.8.1
|
34 |
+
pillow==10.1.0
|