Update app.py
Browse files
app.py
CHANGED
@@ -79,7 +79,7 @@ def prediction(path1):
|
|
79 |
return y_pred[0][0]
|
80 |
def mainfunc(data):
|
81 |
print(data)
|
82 |
-
return
|
83 |
audio_input = gr.inputs.Audio(type="filepath")
|
84 |
iface = gr.Interface(fn=mainfunc, inputs=audio_input, outputs="text")
|
85 |
iface.launch(inline=False)
|
|
|
79 |
return y_pred[0][0]
|
80 |
def mainfunc(data):
|
81 |
print(data)
|
82 |
+
return str(data)
|
83 |
audio_input = gr.inputs.Audio(type="filepath")
|
84 |
iface = gr.Interface(fn=mainfunc, inputs=audio_input, outputs="text")
|
85 |
iface.launch(inline=False)
|