Spaces:
Runtime error
Runtime error
yuangongfdu
commited on
Commit
•
47cdf80
1
Parent(s):
facd8e6
Update app.py
Browse files
app.py
CHANGED
@@ -61,9 +61,8 @@ if __name__ == '__main__':
|
|
61 |
sample_audio_text = "[sample audios from AudioSet evaluation set]"
|
62 |
demo = gr.Interface(fn=predict,
|
63 |
inputs=[gr.Audio(type="filepath"),
|
64 |
-
gr.Textbox(value='What can be inferred from the spoken text and sounds? Why?',
|
65 |
-
|
66 |
-
gr.Radio(["7B (Default)", "13B (Beta)"], value='7B (Default)', label="LLM size", info="All experiments are 7B LLM.")]
|
67 |
outputs=[gr.Textbox(label="LTU-AS-Output")],
|
68 |
cache_examples=True,
|
69 |
title="Demo of LTU-AS",
|
|
|
61 |
sample_audio_text = "[sample audios from AudioSet evaluation set]"
|
62 |
demo = gr.Interface(fn=predict,
|
63 |
inputs=[gr.Audio(type="filepath"),
|
64 |
+
gr.Textbox(value='What can be inferred from the spoken text and sounds? Why?', label='Edit the textbox to ask your own questions!'),
|
65 |
+
gr.Radio(["7B (Default)", "13B (Beta)"], value='7B (Default)', label="LLM size", info="All experiments are 7B LLM.")],
|
|
|
66 |
outputs=[gr.Textbox(label="LTU-AS-Output")],
|
67 |
cache_examples=True,
|
68 |
title="Demo of LTU-AS",
|