mistermprah commited on
Commit
d98360d
1 Parent(s): 0875d49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -154,7 +154,7 @@ for idx, example in enumerate(examples):
154
  col.audio(audio_bytes, format='audio/wav')
155
  results = classify_audio(example)
156
  col.write("Results:")
157
- results_str = "\n.join([f"{label}: {score:.2f}" for label, score in results.items()])
158
  col.text(results_str)
159
 
160
  # JavaScript to detect if the user is on a mobile device
 
154
  col.audio(audio_bytes, format='audio/wav')
155
  results = classify_audio(example)
156
  col.write("Results:")
157
+ results_str = "\n".join([f"{label}: {score:.2f}" for label, score in results.items()])
158
  col.text(results_str)
159
 
160
  # JavaScript to detect if the user is on a mobile device