Spaces:
Sleeping
Sleeping
sharner
commited on
Commit
·
66fd747
1
Parent(s):
16cbef9
Change to later version
Browse files
README.md
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: gradio
|
7 |
-
sdk_version:
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
|
|
1 |
---
|
2 |
+
title: Christmas song guesser
|
3 |
+
emoji: 🎄
|
4 |
+
colorFrom: blue
|
5 |
+
colorTo: yellow
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 4.7.1
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
app.py
CHANGED
@@ -14,7 +14,7 @@ def get_song_guess(audio):
|
|
14 |
|
15 |
iface = gr.Interface(
|
16 |
fn=get_song_guess,
|
17 |
-
inputs=gr.Audio(
|
18 |
outputs="text",
|
19 |
title="Sjung en sång och låt oss gissa 🎤 🎄",
|
20 |
description="Sing a Swedish Christmas song and see if we can guess it. If we fail, try singing more clearly or more of the lyrics and maybe we will get it the next time!",
|
|
|
14 |
|
15 |
iface = gr.Interface(
|
16 |
fn=get_song_guess,
|
17 |
+
inputs=gr.Audio(sources=["microphone"], type="filepath"),
|
18 |
outputs="text",
|
19 |
title="Sjung en sång och låt oss gissa 🎤 🎄",
|
20 |
description="Sing a Swedish Christmas song and see if we can guess it. If we fail, try singing more clearly or more of the lyrics and maybe we will get it the next time!",
|