Update app.py
Browse files
app.py
CHANGED
|
@@ -144,7 +144,7 @@ def predict(audio_path, question):
|
|
| 144 |
link = "https://github.com/Sreyan88/GAMA"
|
| 145 |
text = "[Github]"
|
| 146 |
paper_link = "https://sreyan88.github.io/gamaaudio/"
|
| 147 |
-
paper_text = "
|
| 148 |
demo = gr.Interface(fn=predict,
|
| 149 |
inputs=[gr.Audio(type="filepath"), gr.Textbox(value='Describe the audio.', label='Edit the textbox to ask your own questions!')],
|
| 150 |
outputs=[gr.Textbox(label="Audio Meta Information"), gr.Textbox(label="GAMA Output")],
|
|
@@ -154,4 +154,4 @@ demo = gr.Interface(fn=predict,
|
|
| 154 |
"GAMA is authored by members of the GAMMA Lab at the University of Maryland, College Park and Adobe, USA. <br>" +
|
| 155 |
"**GAMA is not an ASR model and has limited ability to recognize the speech content. It primarily focuses on perception and understanding of non-speech sounds.**<br>" +
|
| 156 |
"Input an audio and ask quesions! Audio will be converted to 16kHz and padded or trim to 10 seconds.")
|
| 157 |
-
demo.launch(
|
|
|
|
| 144 |
link = "https://github.com/Sreyan88/GAMA"
|
| 145 |
text = "[Github]"
|
| 146 |
paper_link = "https://sreyan88.github.io/gamaaudio/"
|
| 147 |
+
paper_text = "https://arxiv.org/pdf/2406.11768"
|
| 148 |
demo = gr.Interface(fn=predict,
|
| 149 |
inputs=[gr.Audio(type="filepath"), gr.Textbox(value='Describe the audio.', label='Edit the textbox to ask your own questions!')],
|
| 150 |
outputs=[gr.Textbox(label="Audio Meta Information"), gr.Textbox(label="GAMA Output")],
|
|
|
|
| 154 |
"GAMA is authored by members of the GAMMA Lab at the University of Maryland, College Park and Adobe, USA. <br>" +
|
| 155 |
"**GAMA is not an ASR model and has limited ability to recognize the speech content. It primarily focuses on perception and understanding of non-speech sounds.**<br>" +
|
| 156 |
"Input an audio and ask quesions! Audio will be converted to 16kHz and padded or trim to 10 seconds.")
|
| 157 |
+
demo.launch()
|