andromeda01111 commited on
Commit
2b8003b
·
verified ·
1 Parent(s): d694980

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -43,13 +43,13 @@ def predict(path, sampling_rate):
43
 
44
 
45
  demo = gr.Interface(
46
- fn=extract_stems,
47
  inputs=gr.Audio(source="upload", type="filepath"),
48
- outputs=gr.markdown(label="outputs")
49
- title=title,
50
- description=description,
51
- examples=examples,
52
- allow_flagging="never"
53
  )
54
 
55
  if __name__ == "__main__":
 
43
 
44
 
45
  demo = gr.Interface(
46
+ fn=predict,
47
  inputs=gr.Audio(source="upload", type="filepath"),
48
+ outputs="text"
49
+ title="Sentiment anlysis",
50
+ # description=description,
51
+ # examples=examples,
52
+ # allow_flagging="never"
53
  )
54
 
55
  if __name__ == "__main__":