minhdang commited on
Commit
de50b00
·
verified ·
1 Parent(s): be33f4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -150,8 +150,8 @@ with demo:
150
  submit_video_button = gr.Button('Submit')
151
  with gr.Column():
152
  label_video = gr.Label(num_top_classes=5)
153
- with gr.Row():
154
- gr.Examples(examples=['./videos/hitting_baseball.mp4', './videos/hoverboarding.mp4', './videos/yoga.mp4'], inputs=input_video, outputs=label_video, fn=inference_video, cache_examples=True)
155
 
156
  with gr.Tab("Image"):
157
  # with gr.Box():
@@ -163,8 +163,8 @@ with demo:
163
  submit_image_button = gr.Button('Submit')
164
  with gr.Column():
165
  label_image = gr.Label(num_top_classes=5)
166
- with gr.Row():
167
- gr.Examples(examples=['./images/cat.png', './images/dog.png', './images/panda.png'], inputs=input_image, outputs=label_image, fn=inference_image, cache_examples=True)
168
 
169
  gr.Markdown(
170
  """
 
150
  submit_video_button = gr.Button('Submit')
151
  with gr.Column():
152
  label_video = gr.Label(num_top_classes=5)
153
+ # with gr.Row():
154
+ # gr.Examples(examples=['./videos/hitting_baseball.mp4', './videos/hoverboarding.mp4', './videos/yoga.mp4'], inputs=input_video, outputs=label_video, fn=inference_video, cache_examples=True)
155
 
156
  with gr.Tab("Image"):
157
  # with gr.Box():
 
163
  submit_image_button = gr.Button('Submit')
164
  with gr.Column():
165
  label_image = gr.Label(num_top_classes=5)
166
+ # with gr.Row():
167
+ # gr.Examples(examples=['./images/cat.png', './images/dog.png', './images/panda.png'], inputs=input_image, outputs=label_image, fn=inference_image, cache_examples=True)
168
 
169
  gr.Markdown(
170
  """