charliebaby2023 commited on
Commit
2430089
1 Parent(s): 0e4e728

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -88,7 +88,7 @@ def make_me():
88
 
89
  gen_button = gr.Button('Generate up to 6 images in up to 3 minutes total')
90
  stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)
91
- gen_button.click(lambda s: gr.update(interactive = True, fn=get_current_time(), outputs=txt_input), None, stop_button)
92
  gr.HTML(
93
  """
94
  <div style="text-align: center; max-width: 1200px; margin: 0 auto;">
 
88
 
89
  gen_button = gr.Button('Generate up to 6 images in up to 3 minutes total')
90
  stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)
91
+ gen_button.click(lambda s: gr.update(interactive = True, txt_input = gr.Textbox(label = 'Your prompt:', lines=4, value=get_current_time() ).style(container=False,min_width=1200) ), None, stop_button)
92
  gr.HTML(
93
  """
94
  <div style="text-align: center; max-width: 1200px; margin: 0 auto;">