ManishThota commited on
Commit
2724204
·
verified ·
1 Parent(s): b499d7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -112,7 +112,8 @@ iface = gr.Interface(
112
  inputs=[
113
  gr.Image(type="pil", label="Upload or Drag an Image"),
114
  gr.Video(label="Upload your video here"),
115
- ],
 
116
  outputs=gr.TextArea(label="Answer"),
117
  # outputs=gr.Image(label="Output"),
118
  title="Video/Image Viewer",
 
112
  inputs=[
113
  gr.Image(type="pil", label="Upload or Drag an Image"),
114
  gr.Video(label="Upload your video here"),
115
+ gr.Textbox(label="Question", placeholder="e.g. Can you explain the slide?", scale=4),
116
+ gr.Slider(2, 500, value=25, label="Token Count", info="Choose between 2 and 500")],
117
  outputs=gr.TextArea(label="Answer"),
118
  # outputs=gr.Image(label="Output"),
119
  title="Video/Image Viewer",