Zaiiida commited on
Commit
1154179
·
verified ·
1 Parent(s): a0485be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -5
app.py CHANGED
@@ -58,14 +58,17 @@ def generate(image):
58
  return mesh_path2.name
59
 
60
 
61
- # Функция для отображения загрузки
62
- def start_loading():
63
- return "<div id='loading-bar' style='display: block;'></div>"
64
 
 
 
65
 
66
- def stop_loading():
67
- return "<div id='loading-bar' style='display: none;'></div>"
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):