Commit
·
7f6bec3
1
Parent(s):
be1bb31
Update app.py
Browse files
app.py
CHANGED
@@ -320,11 +320,11 @@ class VideoQA:
|
|
320 |
with gr.Blocks() as demo:
|
321 |
gr.HTML("""<center><h1>Video Question Answering</h1></center>""")
|
322 |
with gr.Row():
|
323 |
-
video = gr.Video()
|
324 |
with gr.Row():
|
325 |
query = gr.Textbox("Query")
|
326 |
with gr.Row():
|
327 |
-
output_video = gr.Video()
|
328 |
|
329 |
query.submit(self.main,[video,query],output_video)
|
330 |
demo.launch(debug=True)
|
|
|
320 |
with gr.Blocks() as demo:
|
321 |
gr.HTML("""<center><h1>Video Question Answering</h1></center>""")
|
322 |
with gr.Row():
|
323 |
+
video = gr.Video(elem_classes="videosize")
|
324 |
with gr.Row():
|
325 |
query = gr.Textbox("Query")
|
326 |
with gr.Row():
|
327 |
+
output_video = gr.Video(elem_classes="videosize")
|
328 |
|
329 |
query.submit(self.main,[video,query],output_video)
|
330 |
demo.launch(debug=True)
|