Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,7 +46,7 @@ def classify_audio(audio):
|
|
| 46 |
reasons = text["reasons"]
|
| 47 |
|
| 48 |
# Return the transcription and the prediction as a dictionary
|
| 49 |
-
return
|
| 50 |
|
| 51 |
gr.Interface(
|
| 52 |
fn=classify_audio,
|
|
|
|
| 46 |
reasons = text["reasons"]
|
| 47 |
|
| 48 |
# Return the transcription and the prediction as a dictionary
|
| 49 |
+
return transcription, decision, reasons
|
| 50 |
|
| 51 |
gr.Interface(
|
| 52 |
fn=classify_audio,
|