moro23 commited on
Commit
5717cc5
·
verified ·
1 Parent(s): 11a4cf7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -50,9 +50,9 @@ def heart_signal_classification(data):
50
  return label
51
  ################### Gradio Web APP ################################
52
  title = "Heart Signal Classification App"
53
- Input = gr.Audio(shape=(299, 299), label="Please Upload An Image")
54
  Output1 = gr.Textbox(label="Type Of Heart Signal")
55
  description = "Type Of Signal: Artifact, Murmur, Normal"
56
- iface = gr.Interface(fn=maize_disease_classifier, inputs=Input, outputs=Output1, title=title, description=description)
57
 
58
  iface.launch(inline=False)
 
50
  return label
51
  ################### Gradio Web APP ################################
52
  title = "Heart Signal Classification App"
53
+ Input = gr.Audio(source="", type="filepath")
54
  Output1 = gr.Textbox(label="Type Of Heart Signal")
55
  description = "Type Of Signal: Artifact, Murmur, Normal"
56
+ iface = gr.Interface(fn=heart_signal_classification, inputs=Input, outputs=Output1, title=title, description=description)
57
 
58
  iface.launch(inline=False)