Spaces:
Sleeping
Sleeping
minor change
Browse files
app.py
CHANGED
@@ -97,7 +97,7 @@ def ask_ques_from_text(text):
|
|
97 |
demo = gr.Interface(
|
98 |
fn=process_inputs,
|
99 |
inputs=[
|
100 |
-
gr.Audio(label="Upload audio", type="filepath"), # Audio input
|
101 |
gr.Dropdown(choices=["Translate", "Summarize", "text-classification", "Ask a Question"], label="Choose an Option")
|
102 |
],
|
103 |
outputs=[gr.Textbox(label="Result"), gr.Image(label="Classification Plot")],
|
|
|
97 |
demo = gr.Interface(
|
98 |
fn=process_inputs,
|
99 |
inputs=[
|
100 |
+
gr.Audio(label="Upload audio in .mp3 format", type="filepath"), # Audio input
|
101 |
gr.Dropdown(choices=["Translate", "Summarize", "text-classification", "Ask a Question"], label="Choose an Option")
|
102 |
],
|
103 |
outputs=[gr.Textbox(label="Result"), gr.Image(label="Classification Plot")],
|