Spaces:
Runtime error
Runtime error
chidojawbreaker
commited on
Commit
•
d4d5ba9
1
Parent(s):
36d103c
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def predictor(audio_filename):
|
|
51 |
return result
|
52 |
|
53 |
|
54 |
-
app = gr.Interface(predictor,
|
55 |
-
inputs=gr.
|
56 |
-
outputs=gr.
|
57 |
app.launch()
|
|
|
51 |
return result
|
52 |
|
53 |
|
54 |
+
app = gr.Interface(fn=predictor,
|
55 |
+
inputs=gr.Audio(source="upload",type="filepath",label="Please Upload Audio file here:"),
|
56 |
+
outputs=gr.Textbox(label="Result"),title="SMART UTI DETECTOR",description="UTI Prediction Model",examples=[["normal 1_rn.wav"]])
|
57 |
app.launch()
|