Spaces:
Paused
Paused
Update app.py
Browse files
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 |
-
|
69 |
-
|
|
|
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()
|