Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,8 @@ def classify_toxicity(audio_file, text_input, selected_model):
|
|
39 |
iface = gr.Interface(
|
40 |
fn=classify_toxicity,
|
41 |
inputs=[
|
42 |
-
gr.Audio(source="upload", type="filepath", label="Upload Audio File"),
|
|
|
43 |
gr.Radio(available_models, type="value", label="Select Model")
|
44 |
],
|
45 |
outputs="text",
|
|
|
39 |
iface = gr.Interface(
|
40 |
fn=classify_toxicity,
|
41 |
inputs=[
|
42 |
+
gr.Audio(source="upload", type="filepath", label="Upload Audio File"),
|
43 |
+
gr.Textbox(type="text", label="Enter Text", placeholder="Enter text here..."),
|
44 |
gr.Radio(available_models, type="value", label="Select Model")
|
45 |
],
|
46 |
outputs="text",
|