Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
9a01cc0
1
Parent(s):
98cf3fb
fix example paths
Browse files
app.py
CHANGED
@@ -451,27 +451,27 @@ def build_demo(embed_mode, cur_dir=None):
|
|
451 |
with gr.Row():
|
452 |
with gr.Column(scale=9):
|
453 |
gr.Examples(examples=[
|
454 |
-
[
|
455 |
-
[
|
456 |
-
[
|
457 |
-
[
|
458 |
], inputs=[audio_input], label='Audio Examples')
|
459 |
|
460 |
with gr.Row(equal_height=True):
|
461 |
gr.Examples(examples=[
|
462 |
-
[
|
463 |
-
[
|
464 |
-
[
|
465 |
], inputs=[imagebox, textbox], label='Image Examples')
|
466 |
gr.Examples(examples=[
|
467 |
-
[
|
468 |
-
[
|
469 |
-
[
|
470 |
], inputs=[imagebox, audio_input], label='Omni Examples 1')
|
471 |
gr.Examples(examples=[
|
472 |
-
[
|
473 |
-
[
|
474 |
-
[
|
475 |
], inputs=[imagebox, audio_input], label='Omni Examples 2')
|
476 |
|
477 |
if not embed_mode:
|
|
|
451 |
with gr.Row():
|
452 |
with gr.Column(scale=9):
|
453 |
gr.Examples(examples=[
|
454 |
+
["./examples/emo-speech/what_is_your_name.wav"],
|
455 |
+
["./examples/emo-speech/parent.wav"],
|
456 |
+
["./examples/emo-speech/I_am_so_sad.wav"],
|
457 |
+
["./examples/emo-speech/wedding(CH).wav"],
|
458 |
], inputs=[audio_input], label='Audio Examples')
|
459 |
|
460 |
with gr.Row(equal_height=True):
|
461 |
gr.Examples(examples=[
|
462 |
+
["./examples/image-text/example_1.png", "Why is this image funny?"],
|
463 |
+
["./examples/image-text/example_2.png", "First please perform reasoning, and think step by step to provide best answer to the following question:\n\nWhat is the original price for pork belly before discount?"],
|
464 |
+
["./examples/image-text/example_3.png", "Convert this table to markdown format."],
|
465 |
], inputs=[imagebox, textbox], label='Image Examples')
|
466 |
gr.Examples(examples=[
|
467 |
+
["./examples/emo-speech/write_a_poem.jfif", "./examples/emo-speech/write_a_poem.wav"],
|
468 |
+
["./examples/emo-speech/I_am_happy_get_my_offer.webp", "./examples/emo-speech/I_am_happy_get_my_offer.wav"],
|
469 |
+
["./examples/structure-speech/names_of_main_actors.jpg", "./examples/structure-speech/names_of_main_actors.wav"],
|
470 |
], inputs=[imagebox, audio_input], label='Omni Examples 1')
|
471 |
gr.Examples(examples=[
|
472 |
+
["./examples/structure-speech/how_to_save_water.png", "./examples/structure-speech/how_to_save_water.wav"],
|
473 |
+
["./examples/structure-speech/internet_coverage.png", "./examples/structure-speech/internet_coverage.wav"],
|
474 |
+
["./examples/structure-speech/how_to_use_website.PNG", "./examples/structure-speech/how_to_use_website.wav"],
|
475 |
], inputs=[imagebox, audio_input], label='Omni Examples 2')
|
476 |
|
477 |
if not embed_mode:
|