Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -306,8 +306,8 @@ image_examples = [
|
|
306 |
]
|
307 |
|
308 |
video_examples = [
|
309 |
-
["explain the video in detail.", "videos/
|
310 |
-
["explain the video in detail.", "videos/
|
311 |
]
|
312 |
|
313 |
object_detection_examples = [
|
@@ -353,7 +353,7 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
353 |
examples=video_examples,
|
354 |
inputs=[video_query, video_upload]
|
355 |
)
|
356 |
-
with gr.TabItem("Object Detection /
|
357 |
with gr.Row():
|
358 |
with gr.Column():
|
359 |
input_img = gr.Image(label="Input Image", type="pil")
|
|
|
306 |
]
|
307 |
|
308 |
video_examples = [
|
309 |
+
["explain the ad video in detail.", "videos/1.mp4"],
|
310 |
+
["explain the video in detail.", "videos/2.mp4"]
|
311 |
]
|
312 |
|
313 |
object_detection_examples = [
|
|
|
353 |
examples=video_examples,
|
354 |
inputs=[video_query, video_upload]
|
355 |
)
|
356 |
+
with gr.TabItem("Object Detection / Localization"):
|
357 |
with gr.Row():
|
358 |
with gr.Column():
|
359 |
input_img = gr.Image(label="Input Image", type="pil")
|