Spaces:
Running
on
A10G
Running
on
A10G
Added examples
Browse files
app.py
CHANGED
@@ -508,7 +508,7 @@ def main():
|
|
508 |
inputs=[textbox, language_dropdown, accent_dropdown, upload_audio_prompt, record_audio_prompt, textbox_transcript],
|
509 |
outputs=[text_output, audio_output],
|
510 |
fn=infer_from_audio,
|
511 |
-
cache_examples=
|
512 |
with gr.Tab("Make prompt"):
|
513 |
gr.Markdown(make_prompt_md)
|
514 |
with gr.Row():
|
@@ -533,7 +533,7 @@ def main():
|
|
533 |
inputs=[textbox2, upload_audio_prompt_2, record_audio_prompt_2, textbox_transcript2],
|
534 |
outputs=[text_output_2, prompt_output_2],
|
535 |
fn=make_npz_prompt,
|
536 |
-
cache_examples=
|
537 |
with gr.Tab("Infer from prompt"):
|
538 |
gr.Markdown(infer_from_prompt_md)
|
539 |
with gr.Row():
|
@@ -558,7 +558,7 @@ def main():
|
|
558 |
inputs=[textbox_3, language_dropdown_3, accent_dropdown_3, preset_dropdown_3, prompt_file],
|
559 |
outputs=[text_output_3, audio_output_3],
|
560 |
fn=infer_from_prompt,
|
561 |
-
cache_examples=
|
562 |
with gr.Tab("Infer long text"):
|
563 |
gr.Markdown(long_text_md)
|
564 |
with gr.Row():
|
|
|
508 |
inputs=[textbox, language_dropdown, accent_dropdown, upload_audio_prompt, record_audio_prompt, textbox_transcript],
|
509 |
outputs=[text_output, audio_output],
|
510 |
fn=infer_from_audio,
|
511 |
+
cache_examples=False,)
|
512 |
with gr.Tab("Make prompt"):
|
513 |
gr.Markdown(make_prompt_md)
|
514 |
with gr.Row():
|
|
|
533 |
inputs=[textbox2, upload_audio_prompt_2, record_audio_prompt_2, textbox_transcript2],
|
534 |
outputs=[text_output_2, prompt_output_2],
|
535 |
fn=make_npz_prompt,
|
536 |
+
cache_examples=False,)
|
537 |
with gr.Tab("Infer from prompt"):
|
538 |
gr.Markdown(infer_from_prompt_md)
|
539 |
with gr.Row():
|
|
|
558 |
inputs=[textbox_3, language_dropdown_3, accent_dropdown_3, preset_dropdown_3, prompt_file],
|
559 |
outputs=[text_output_3, audio_output_3],
|
560 |
fn=infer_from_prompt,
|
561 |
+
cache_examples=False,)
|
562 |
with gr.Tab("Infer long text"):
|
563 |
gr.Markdown(long_text_md)
|
564 |
with gr.Row():
|