Commit
·
b02fdb5
1
Parent(s):
0674a08
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ if __name__ == '__main__':
|
|
46 |
link = "https://github.com/YuanGongND/ltu"
|
47 |
text = "[Github]"
|
48 |
paper_link = "https://www.researchgate.net/publication/374153208_Joint_Audio_and_Speech_Understanding"
|
49 |
-
paper_text = "[Paper]"
|
50 |
sample_audio_link = "https://drive.google.com/drive/folders/17yeBevX0LIS1ugt0DZDOoJolwxvncMja?usp=sharing"
|
51 |
sample_audio_text = "[sample audios from AudioSet evaluation set]"
|
52 |
demo = gr.Interface(fn=predict,
|
@@ -58,6 +58,7 @@ if __name__ == '__main__':
|
|
58 |
title="Demo of LTU-AS",
|
59 |
description="LTU-AS an improved version of LTU. LTU-AS is stronger in spoken text understanding and music understanding. " + f"<a href='{paper_link}'>{paper_text}</a> <br>" +
|
60 |
"LTU-AS is authored by Yuan Gong, Alexander H. Liu, Hongyin Luo, Leonid Karlinsky, and James Glass (MIT & MIT-IBM Watson AI Lab). <br>" +
|
61 |
-
"Input should be wav file sampled at 16kHz. This demo
|
62 |
-
"
|
|
|
63 |
demo.launch(debug=False, share=False)
|
|
|
46 |
link = "https://github.com/YuanGongND/ltu"
|
47 |
text = "[Github]"
|
48 |
paper_link = "https://www.researchgate.net/publication/374153208_Joint_Audio_and_Speech_Understanding"
|
49 |
+
paper_text = "[ASRU Paper]"
|
50 |
sample_audio_link = "https://drive.google.com/drive/folders/17yeBevX0LIS1ugt0DZDOoJolwxvncMja?usp=sharing"
|
51 |
sample_audio_text = "[sample audios from AudioSet evaluation set]"
|
52 |
demo = gr.Interface(fn=predict,
|
|
|
58 |
title="Demo of LTU-AS",
|
59 |
description="LTU-AS an improved version of LTU. LTU-AS is stronger in spoken text understanding and music understanding. " + f"<a href='{paper_link}'>{paper_text}</a> <br>" +
|
60 |
"LTU-AS is authored by Yuan Gong, Alexander H. Liu, Hongyin Luo, Leonid Karlinsky, and James Glass (MIT & MIT-IBM Watson AI Lab). <br>" +
|
61 |
+
"Input should be wav file sampled at 16kHz. This demo trims input audio to 10 seconds. <br>" +
|
62 |
+
"Code of LTU-AS will be available soon at " + f"<a href='{link}'>{text}</a> <br>" +
|
63 |
+
"**Research Demo, Not for Commercial Use (Due to license of LLaMA).**")
|
64 |
demo.launch(debug=False, share=False)
|