Seidazymov Adil
commited on
Commit
•
175a703
1
Parent(s):
fb7d32a
Final 1.12
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ with demo:
|
|
75 |
with gr.TabItem('Toxic & Emotion Detection'):
|
76 |
toxic_and_emotion_detection_interface = gr.Interface(
|
77 |
fn=assessment,
|
78 |
-
inputs=[gr.Audio(sources=["upload"], type="filepath"), gr.Textbox(label="
|
79 |
outputs='json',
|
80 |
)
|
81 |
demo.launch()
|
|
|
75 |
with gr.TabItem('Toxic & Emotion Detection'):
|
76 |
toxic_and_emotion_detection_interface = gr.Interface(
|
77 |
fn=assessment,
|
78 |
+
inputs=[gr.Audio(sources=["upload"], type="filepath"), gr.Textbox(label="Result Text")],
|
79 |
outputs='json',
|
80 |
)
|
81 |
demo.launch()
|