Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -58,14 +58,17 @@ def generate(image):
|
|
58 |
return mesh_path2.name
|
59 |
|
60 |
|
61 |
-
|
62 |
-
|
63 |
-
return "<div id='loading-bar' style='display: block;'></div>"
|
64 |
|
|
|
|
|
65 |
|
66 |
-
def
|
67 |
-
return "<div id='loading-bar' style='display:
|
68 |
|
|
|
|
|
69 |
|
70 |
# Настройка темы и CSS
|
71 |
class CustomTheme(gr.themes.Base):
|
|
|
58 |
return mesh_path2.name
|
59 |
|
60 |
|
61 |
+
def start_loading_processed():
|
62 |
+
return "<div id='loading-bar-processed' style='display: block;'></div>"
|
|
|
63 |
|
64 |
+
def stop_loading_processed():
|
65 |
+
return "<div id='loading-bar-processed' style='display: none;'></div>"
|
66 |
|
67 |
+
def start_loading_glb():
|
68 |
+
return "<div id='loading-bar-glb' style='display: block;'></div>"
|
69 |
|
70 |
+
def stop_loading_glb():
|
71 |
+
return "<div id='loading-bar-glb' style='display: none;'></div>"
|
72 |
|
73 |
# Настройка темы и CSS
|
74 |
class CustomTheme(gr.themes.Base):
|