charliebaby2023
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -87,7 +87,7 @@ def make_me():
|
|
87 |
|
88 |
gen_button = gr.Button('Generate up to 6 images in up to 3 minutes total')
|
89 |
stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)
|
90 |
-
gen_button.click(
|
91 |
gr.HTML(
|
92 |
"""
|
93 |
<div style="text-align: center; max-width: 1200px; margin: 0 auto;">
|
|
|
87 |
|
88 |
gen_button = gr.Button('Generate up to 6 images in up to 3 minutes total')
|
89 |
stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)
|
90 |
+
gen_button.click(lambda s: gr.update(interactive = True, fn=get_current_time, outputs=txt_input), None, stop_button)
|
91 |
gr.HTML(
|
92 |
"""
|
93 |
<div style="text-align: center; max-width: 1200px; margin: 0 auto;">
|