DrishtiSharma commited on
Commit
afa09af
1 Parent(s): fdb710c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -28,7 +28,7 @@ label = gr.outputs.Label(num_top_classes=5)
28
 
29
  ################### Gradio Web APP ################################
30
 
31
-
32
  #gr.Interface(
33
  #fn = classify_sentiment,
34
  #inputs = input_audio,
@@ -39,5 +39,7 @@ label = gr.outputs.Label(num_top_classes=5)
39
  #theme="huggingface").launch()
40
 
41
  # generate and launch interface
42
- interface = gr.Interface(fn=classify_sentiment, inputs=input_audio, outputs=label, examples=[["basta_neutral.wav"], ["detras_disgust.wav"], ["mortal_sadness.wav"], ["respiracion_happiness.wav"], ["robo_fear.wav"]], article=info['article'], css=info['css'], theme='huggingface', title=info['title'], allow_flagging='never', description=info['description'])
43
- interface.launch()
 
 
 
28
 
29
  ################### Gradio Web APP ################################
30
 
31
+ description = "a"
32
  #gr.Interface(
33
  #fn = classify_sentiment,
34
  #inputs = input_audio,
 
39
  #theme="huggingface").launch()
40
 
41
  # generate and launch interface
42
+ interface = gr.Interface(fn=classify_sentiment, inputs=input_audio, outputs=label, examples=[["basta_neutral.wav"], ["detras_disgust.wav"], ["mortal_sadness.wav"], ["respiracion_happiness.wav"], ["robo_fear.wav"]], article=info['article'], css=info['css'], theme='huggingface', title=info['title'], allow_flagging='never', description=description)
43
+ interface.launch()
44
+
45
+ #info['description']