csuhan commited on
Commit
b5c97db
·
1 Parent(s): a927763

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +14 -14
app.py CHANGED
@@ -213,22 +213,22 @@ def gradio_worker(
213
  )
214
  with gr.Tab('Video') as video_tab:
215
  video_path = gr.Video(label='Video Input')
216
- # gr.Examples(
217
- # examples=[
218
- # ["examples/flower.mp4", "What process does this video record?"],
219
- # ["examples/caixukun.mp4", "Describe the video in detail."],
220
- # ],
221
- # inputs=[video_path, msg],
222
- # )
223
  with gr.Tab('Audio') as audio_tab:
224
  audio_path = gr.Audio(label='Audio Input', type='filepath', sources=['upload'])
225
- # gr.Examples(
226
- # examples=[
227
- # ["examples/bell_ring.wav", "What can you hear in the audio?"],
228
- # ["examples/bird_audio.wav", "Describe the audio."],
229
- # ],
230
- # inputs=[audio_path, msg],
231
- # )
232
  with gr.Tab('Point Cloud') as point_tab:
233
  gr.Markdown('Coming soon🤗')
234
  with gr.Tab('IMU') as imu_tab:
 
213
  )
214
  with gr.Tab('Video') as video_tab:
215
  video_path = gr.Video(label='Video Input')
216
+ gr.Examples(
217
+ examples=[
218
+ "examples/flower.mp4",
219
+ "examples/star_kun.mp4",,
220
+ ],
221
+ inputs=[video_path],
222
+ )
223
  with gr.Tab('Audio') as audio_tab:
224
  audio_path = gr.Audio(label='Audio Input', type='filepath', sources=['upload'])
225
+ gr.Examples(
226
+ examples=[
227
+ "examples/bell_ring.wav",
228
+ "examples/bird_audio.wav",
229
+ ],
230
+ inputs=[audio_path],
231
+ )
232
  with gr.Tab('Point Cloud') as point_tab:
233
  gr.Markdown('Coming soon🤗')
234
  with gr.Tab('IMU') as imu_tab: