bmarci commited on
Commit
79e147f
·
1 Parent(s): a9f11f2

generation4

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -81,6 +81,8 @@ with gr.Blocks(css=css) as demo:
81
  container=False,
82
  )
83
 
 
 
84
  run_button = gr.Button("Run", scale=0, variant="primary")
85
 
86
  with gr.Row():
@@ -140,7 +142,7 @@ with gr.Blocks(css=css) as demo:
140
  #gr.Examples(examples=examples, inputs=[prompt, ref])
141
 
142
  def show_result():
143
- return gr.update(visible=True), gr.update(visible=True)
144
 
145
  gr.on(
146
  triggers=[run_button.click, prompt.submit],
 
81
  container=False,
82
  )
83
 
84
+ editing_caption = prompt
85
+
86
  run_button = gr.Button("Run", scale=0, variant="primary")
87
 
88
  with gr.Row():
 
142
  #gr.Examples(examples=examples, inputs=[prompt, ref])
143
 
144
  def show_result():
145
+ return gr.update(visible=True)
146
 
147
  gr.on(
148
  triggers=[run_button.click, prompt.submit],