sharner commited on
Commit
b1c4543
1 Parent(s): b08ff31

More descriptive output

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -10,7 +10,8 @@ def transcribe(audio):
10
 
11
  def get_song_guess(audio):
12
  user_query = transcribe(audio)
13
- return "Du sjöng: " + SongGuesser.guess_song(user_query)
 
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,