Spaces:
Sleeping
Sleeping
sharner
commited on
Commit
•
b1c4543
1
Parent(s):
b08ff31
More descriptive output
Browse files
app.py
CHANGED
@@ -10,7 +10,8 @@ def transcribe(audio):
|
|
10 |
|
11 |
def get_song_guess(audio):
|
12 |
user_query = transcribe(audio)
|
13 |
-
|
|
|
14 |
|
15 |
iface = gr.Interface(
|
16 |
fn=get_song_guess,
|
|
|
10 |
|
11 |
def get_song_guess(audio):
|
12 |
user_query = transcribe(audio)
|
13 |
+
output = "Vad vi hörde från dig: " + user_query + "\n\nVi tror att du sjöng: " + SongGuesser.guess_song(user_query)
|
14 |
+
return output
|
15 |
|
16 |
iface = gr.Interface(
|
17 |
fn=get_song_guess,
|