Commit
·
45dec12
1
Parent(s):
a0d4c39
Update app.py
Browse files
app.py
CHANGED
|
@@ -164,8 +164,7 @@ with gr.Blocks(css=".gradio-container {background-color: lightgray;}") as demo:
|
|
| 164 |
gr.Markdown("Select audio or record audio")
|
| 165 |
with gr.Row():
|
| 166 |
with gr.Column():
|
| 167 |
-
input_audio_text = gr.Dropdown(lable
|
| 168 |
-
interactive=True)
|
| 169 |
audio_ui=gr.Audio()
|
| 170 |
input_audio_text.change(return_audio_clip,input_audio_text,audio_ui)
|
| 171 |
output_text = gr.Textbox(lable="Prdicted emotion")
|
|
|
|
| 164 |
gr.Markdown("Select audio or record audio")
|
| 165 |
with gr.Row():
|
| 166 |
with gr.Column():
|
| 167 |
+
input_audio_text = gr.Dropdown(lable="Input Audio",choices=["Please select any of the following options","Angry", "Happy", "Sad", "Disgust","Fear", "Surprise", "Neutral"],interactive=True)
|
|
|
|
| 168 |
audio_ui=gr.Audio()
|
| 169 |
input_audio_text.change(return_audio_clip,input_audio_text,audio_ui)
|
| 170 |
output_text = gr.Textbox(lable="Prdicted emotion")
|