fffiloni commited on
Commit
1b02803
1 Parent(s): 8f36174

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -65,8 +65,9 @@ with gr.Blocks(css=css) as demo:
65
  with gr.Column():
66
  image_in = gr.Image(label="Image input", type="filepath")
67
  submit_btn = gr.Button('Sumbit')
68
- caption = gr.Textbox(label="Generated Caption")
69
- story = gr.Textbox(label="generated Story")
 
70
  submit_btn.click(fn=infer, inputs=[image_in], outputs=[caption, story])
71
 
72
  demo.queue().launch()
 
65
  with gr.Column():
66
  image_in = gr.Image(label="Image input", type="filepath")
67
  submit_btn = gr.Button('Sumbit')
68
+ with gr.Column():
69
+ caption = gr.Textbox(label="Generated Caption")
70
+ story = gr.Textbox(label="generated Story")
71
  submit_btn.click(fn=infer, inputs=[image_in], outputs=[caption, story])
72
 
73
  demo.queue().launch()