seawolf2357 commited on
Commit
96b10cf
1 Parent(s): f9dc237

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -76,7 +76,7 @@ with gr.Blocks() as demo:
76
  label="Video Dimension", info="Choose dimension"
77
  )
78
  product_name = gr.Textbox(label="Product name")
79
- captions = gr.Textbox(label="Captions", readonly=True)
80
  video = gr.Video()
81
  btn = gr.Button("Submit")
82
  btn.click(pred, inputs=[product_name, dimension], outputs=[captions, video])
 
76
  label="Video Dimension", info="Choose dimension"
77
  )
78
  product_name = gr.Textbox(label="Product name")
79
+ captions = gr.Label(label="Captions")
80
  video = gr.Video()
81
  btn = gr.Button("Submit")
82
  btn.click(pred, inputs=[product_name, dimension], outputs=[captions, video])