chidojawbreaker commited on
Commit
d4d5ba9
1 Parent(s): 36d103c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -51,7 +51,7 @@ def predictor(audio_filename):
51
  return result
52
 
53
 
54
- app = gr.Interface(predictor,
55
- inputs=gr.inputs.Audio(source="upload",label="Please Upload Audio file here:"),
56
- outputs=gr.outputs.Textbox(label="Result"),title="SMART UTI DETECTOR",description="UTI Prediction Model",examples=[["normal 1_rn.wav"]])
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()