osanseviero commited on
Commit
d59f270
1 Parent(s): 2a2eed2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,8 +12,8 @@ def classify_sentiment(audio):
12
  pred = pipe(audio)
13
  return {dic["label"]: dic["score"] for dic in pred}
14
 
15
- input_audio = [gr.inputs.Audio(source="microphone", type="filepath", label="Record/ Drop audio")]
16
- label = gr.outputs.Label(num_top_classes=5)
17
 
18
  ################### Gradio Web APP ################################
19
 
 
12
  pred = pipe(audio)
13
  return {dic["label"]: dic["score"] for dic in pred}
14
 
15
+ input_audio = [gr.Audio(source="microphone", type="filepath", label="Record/ Drop audio")]
16
+ label = gr.Label(num_top_classes=5)
17
 
18
  ################### Gradio Web APP ################################
19