Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -1067,8 +1067,8 @@ else:
|
|
| 1067 |
error_msg = str(e)
|
| 1068 |
|
| 1069 |
error_html = create_error_html(error_msg)
|
| 1070 |
-
|
| 1071 |
-
|
| 1072 |
|
| 1073 |
def end_process():
|
| 1074 |
"""生成プロセスを停止する関数 - キューに'end'信号を送信して生成を中断します"""
|
|
|
|
| 1067 |
error_msg = str(e)
|
| 1068 |
|
| 1069 |
error_html = create_error_html(error_msg)
|
| 1070 |
+
yield None, gr.update(visible=False), gr.update(), error_html, gr.update(interactive=True), gr.update(interactive=False)
|
| 1071 |
+
|
| 1072 |
|
| 1073 |
def end_process():
|
| 1074 |
"""生成プロセスを停止する関数 - キューに'end'信号を送信して生成を中断します"""
|