fancyfeast commited on
Commit
588df50
1 Parent(s): 159c6c1
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -320,10 +320,10 @@ with gr.Blocks() as demo:
320
  run_button = gr.Button("Caption")
321
 
322
  with gr.Column():
323
- output_prompt = gr.Textbox(label="Prompt")
324
  output_caption = gr.Textbox(label="Caption")
325
 
326
- run_button.click(fn=stream_chat, inputs=[input_image, caption_type, caption_length, extra_options, name_input], outputs=[output_caption, output_prompt])
327
 
328
 
329
  if __name__ == "__main__":
 
320
  run_button = gr.Button("Caption")
321
 
322
  with gr.Column():
323
+ output_prompt = gr.Textbox(label="Prompt that was used")
324
  output_caption = gr.Textbox(label="Caption")
325
 
326
+ run_button.click(fn=stream_chat, inputs=[input_image, caption_type, caption_length, extra_options, name_input], outputs=[output_prompt, output_caption])
327
 
328
 
329
  if __name__ == "__main__":