Spaces:
Runtime error
Runtime error
try older gradio
Browse files- app.py +3 -1
- requirements.txt +1 -1
app.py
CHANGED
@@ -9,6 +9,8 @@ import gradio as gr
|
|
9 |
|
10 |
from model import Model
|
11 |
|
|
|
|
|
12 |
|
13 |
@spaces.GPU
|
14 |
def main():
|
@@ -83,7 +85,7 @@ def main():
|
|
83 |
progress_text,
|
84 |
])
|
85 |
|
86 |
-
|
87 |
demo.launch(debug=True)
|
88 |
|
89 |
|
|
|
9 |
|
10 |
from model import Model
|
11 |
|
12 |
+
print('gradio: ', gr.__version__)
|
13 |
+
|
14 |
|
15 |
@spaces.GPU
|
16 |
def main():
|
|
|
85 |
progress_text,
|
86 |
])
|
87 |
|
88 |
+
demo.queue(max_size=5)
|
89 |
demo.launch(debug=True)
|
90 |
|
91 |
|
requirements.txt
CHANGED
@@ -15,4 +15,4 @@ transformers==4.29.1
|
|
15 |
trimesh==3.21.6
|
16 |
xatlas==0.0.7
|
17 |
spaces==0.23.2
|
18 |
-
gradio==4.
|
|
|
15 |
trimesh==3.21.6
|
16 |
xatlas==0.0.7
|
17 |
spaces==0.23.2
|
18 |
+
gradio==4.1.2
|