Spaces:
Runtime error
Runtime error
liuyizhang
commited on
Commit
•
3e56ffb
1
Parent(s):
32f6715
update app.py
Browse files- app.py +1 -1
- requirements.txt +1 -1
app.py
CHANGED
@@ -5,7 +5,7 @@ warnings.filterwarnings('ignore')
|
|
5 |
import subprocess, io, os, sys, time
|
6 |
# os.system("pip install gradio==3.36.1")
|
7 |
os.system("pip install gradio==3.40.1")
|
8 |
-
|
9 |
import gradio as gr
|
10 |
|
11 |
from loguru import logger
|
|
|
5 |
import subprocess, io, os, sys, time
|
6 |
# os.system("pip install gradio==3.36.1")
|
7 |
os.system("pip install gradio==3.40.1")
|
8 |
+
os.system("pip install transformers==4.32.0")
|
9 |
import gradio as gr
|
10 |
|
11 |
from loguru import logger
|
requirements.txt
CHANGED
@@ -27,7 +27,7 @@ loguru
|
|
27 |
|
28 |
lama-cleaner==1.2.3
|
29 |
|
30 |
-
transformers==4.32.0
|
31 |
# transformers@git+https://github.com/huggingface/transformers.git@main
|
32 |
|
33 |
openmim==0.3.9
|
|
|
27 |
|
28 |
lama-cleaner==1.2.3
|
29 |
|
30 |
+
# transformers==4.32.0
|
31 |
# transformers@git+https://github.com/huggingface/transformers.git@main
|
32 |
|
33 |
openmim==0.3.9
|