Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -161,7 +161,6 @@ title_markdown = ("""
|
|
| 161 |
""")
|
| 162 |
|
| 163 |
tos_markdown = ("""
|
| 164 |
-
### Please "🗑️ Clear" the output before offering a new picture!
|
| 165 |
### Source and Terms of use
|
| 166 |
This demo is based on the original CuMo project by SHI-Labs ([GitHub](https://github.com/SHI-Labs/CuMo)).
|
| 167 |
If you use this service or build upon this work, please cite the original publication:
|
|
@@ -248,7 +247,7 @@ with gr.Blocks(title="CuMo", theme=gr.themes.Default(), css=block_css) as demo:
|
|
| 248 |
with gr.Row(elem_id="buttons") as button_row:
|
| 249 |
stop_btn = gr.Button(value="⏹️ Stop Generation", interactive=False)
|
| 250 |
regenerate_btn = gr.Button(value="🔄 Regenerate", interactive=False)
|
| 251 |
-
clear_btn = gr.Button(value="
|
| 252 |
|
| 253 |
|
| 254 |
gr.Markdown(tos_markdown)
|
|
|
|
| 161 |
""")
|
| 162 |
|
| 163 |
tos_markdown = ("""
|
|
|
|
| 164 |
### Source and Terms of use
|
| 165 |
This demo is based on the original CuMo project by SHI-Labs ([GitHub](https://github.com/SHI-Labs/CuMo)).
|
| 166 |
If you use this service or build upon this work, please cite the original publication:
|
|
|
|
| 247 |
with gr.Row(elem_id="buttons") as button_row:
|
| 248 |
stop_btn = gr.Button(value="⏹️ Stop Generation", interactive=False)
|
| 249 |
regenerate_btn = gr.Button(value="🔄 Regenerate", interactive=False)
|
| 250 |
+
clear_btn = gr.Button(value="⚠️ Please press here after every run ⚠️", interactive=False)
|
| 251 |
|
| 252 |
|
| 253 |
gr.Markdown(tos_markdown)
|