charliebaby2023 commited on
Commit
46d9391
1 Parent(s): 9406f15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(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;">
 
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, txt_input = gr.Textbox(label = 'Your prompt:', lines=4, value=get_current_time() ).style(container=False,min_width=1200), 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;">