Spaces:
Sleeping
Sleeping
Commit
·
2cc03f8
1
Parent(s):
63da907
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def get_song_guess(audio):
|
|
25 |
intro_info = "Santa wants you to sing a Swedish Christmas song so he can try to guess it, but keep in mind that Santa is getting old and doesn't hear so well.\nTo help Santa guess correctly, try to sing clearly or more of the lyrics, and make sure to sing one the songs Santa is familiar with from the list below!"
|
26 |
santa_image_md = '<img style="float: right;" src="https://raw.githubusercontent.com/SamuelHarner/app-images/main/images/DALLE-Santa-480.png?raw=true">'
|
27 |
song_info = (
|
28 |
-
"Santa is familiar with
|
29 |
+ ListSongs.get_song_list()
|
30 |
)
|
31 |
|
@@ -34,7 +34,7 @@ iface = gr.Interface(
|
|
34 |
inputs=gr.Audio(sources=["microphone"], type="filepath"),
|
35 |
outputs="text",
|
36 |
title="Sing a song and let Santa guess 🎅🏼",
|
37 |
-
description=
|
38 |
article=song_info,
|
39 |
)
|
40 |
|
|
|
25 |
intro_info = "Santa wants you to sing a Swedish Christmas song so he can try to guess it, but keep in mind that Santa is getting old and doesn't hear so well.\nTo help Santa guess correctly, try to sing clearly or more of the lyrics, and make sure to sing one the songs Santa is familiar with from the list below!"
|
26 |
santa_image_md = '<img style="float: right;" src="https://raw.githubusercontent.com/SamuelHarner/app-images/main/images/DALLE-Santa-480.png?raw=true">'
|
27 |
song_info = (
|
28 |
+
"Santa is familiar with the following Swedish Christmas songs: \n"
|
29 |
+ ListSongs.get_song_list()
|
30 |
)
|
31 |
|
|
|
34 |
inputs=gr.Audio(sources=["microphone"], type="filepath"),
|
35 |
outputs="text",
|
36 |
title="Sing a song and let Santa guess 🎅🏼",
|
37 |
+
description=santa_image_md+"\n"+intro_info,
|
38 |
article=song_info,
|
39 |
)
|
40 |
|