Spaces:
Running
on
Zero
Running
on
Zero
envs
Browse files- app.py +1 -1
- requirements.txt +2 -2
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import os
|
2 |
print("Installing correct gradio version...")
|
3 |
os.system("pip uninstall -y gradio")
|
4 |
-
os.system("pip install gradio==4.
|
5 |
print("Installing Finished!")
|
6 |
|
7 |
|
|
|
1 |
import os
|
2 |
print("Installing correct gradio version...")
|
3 |
os.system("pip uninstall -y gradio")
|
4 |
+
os.system("pip install gradio==4.0.0")
|
5 |
print("Installing Finished!")
|
6 |
|
7 |
|
requirements.txt
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
torch
|
2 |
torchvision
|
3 |
torchaudio
|
4 |
-
transformers==4.
|
5 |
-
gradio==4.
|
6 |
ftfy
|
7 |
tensorboard
|
8 |
datasets
|
|
|
1 |
torch
|
2 |
torchvision
|
3 |
torchaudio
|
4 |
+
transformers==4.32.1
|
5 |
+
gradio==4.0.0
|
6 |
ftfy
|
7 |
tensorboard
|
8 |
datasets
|