awacke1 commited on
Commit
c59ed5d
โ€ข
1 Parent(s): 02659a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
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 ๐ŸŒ""",