Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ def recognizer(audio_path):
|
|
| 42 |
|
| 43 |
output = session.run([output_name], {input_name:audio})
|
| 44 |
out = np.argmax(output)
|
| 45 |
-
return f'In this audio {voices[out]} is taking'
|
| 46 |
|
| 47 |
label = gradio.outputs.Label(num_top_classes=3)
|
| 48 |
path = 'test-voices/'
|
|
|
|
| 42 |
|
| 43 |
output = session.run([output_name], {input_name:audio})
|
| 44 |
out = np.argmax(output)
|
| 45 |
+
return f'In this audio \"{voices[out]}\" is taking'
|
| 46 |
|
| 47 |
label = gradio.outputs.Label(num_top_classes=3)
|
| 48 |
path = 'test-voices/'
|