Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -89,10 +89,6 @@ def save_all_button_click():
|
|
| 89 |
def clear_all_button_click():
|
| 90 |
clear_all_images()
|
| 91 |
|
| 92 |
-
# Attach click event handlers to the buttons
|
| 93 |
-
save_all_button.click(save_all_button_click)
|
| 94 |
-
clear_all_button.click(clear_all_button_click)
|
| 95 |
-
|
| 96 |
# Add buttons to the Streamlit app
|
| 97 |
gr.button(save_all_button)
|
| 98 |
gr.button(clear_all_button)
|
|
@@ -208,6 +204,11 @@ css = """
|
|
| 208 |
}
|
| 209 |
"""
|
| 210 |
with gr.Blocks(css=css) as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 211 |
with gr.Column(elem_id="container"):
|
| 212 |
gr.Markdown(
|
| 213 |
"""##🕹️ Real Time 🎨 ImageGen Gallery 🌐""",
|
|
|
|
| 89 |
def clear_all_button_click():
|
| 90 |
clear_all_images()
|
| 91 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 92 |
# Add buttons to the Streamlit app
|
| 93 |
gr.button(save_all_button)
|
| 94 |
gr.button(clear_all_button)
|
|
|
|
| 204 |
}
|
| 205 |
"""
|
| 206 |
with gr.Blocks(css=css) as demo:
|
| 207 |
+
|
| 208 |
+
# Attach click event handlers to the buttons
|
| 209 |
+
save_all_button.click(save_all_button_click)
|
| 210 |
+
clear_all_button.click(clear_all_button_click)
|
| 211 |
+
|
| 212 |
with gr.Column(elem_id="container"):
|
| 213 |
gr.Markdown(
|
| 214 |
"""##🕹️ Real Time 🎨 ImageGen Gallery 🌐""",
|