Spaces:
Runtime error
Runtime error
DrishtiSharma
commited on
Commit
•
b694350
1
Parent(s):
33da826
Update app.py
Browse files
app.py
CHANGED
@@ -34,8 +34,9 @@ Note: The Audio examples provided for testing this app were randomly picked from
|
|
34 |
#description = "Demostración de Gradio para la clasificación de sentimientos de audios usando Wav2Vec2",
|
35 |
#theme="huggingface").launch()
|
36 |
|
|
|
37 |
# generate and launch interface
|
38 |
-
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=
|
39 |
interface.launch()
|
40 |
|
41 |
-
#info['description']
|
|
|
34 |
#description = "Demostración de Gradio para la clasificación de sentimientos de audios usando Wav2Vec2",
|
35 |
#theme="huggingface").launch()
|
36 |
|
37 |
+
article = "a"
|
38 |
# generate and launch interface
|
39 |
+
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=article, css=info['css'], theme='huggingface', title=info['title'], allow_flagging='never', description=description)
|
40 |
interface.launch()
|
41 |
|
42 |
+
#info['description'] info['article']
|