Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -148,9 +148,9 @@ output_textbox = gr.outputs.Textbox(label="The Translated Text is:")
|
|
148 |
# Create a Gradio interface
|
149 |
iface = gr.Interface(
|
150 |
fn=run_my_code,
|
151 |
-
inputs=[gr.inputs.Audio(source="microphone", type="filepath", label="Record something (in American/British English Accent)..."), gr.inputs.Radio(["Hindi", "Bengali", "Nepali", "French", "German"], label="Language")],
|
152 |
outputs=output_textbox,
|
153 |
-
title="English Speech
|
154 |
|
155 |
# Launch the interface
|
156 |
iface.launch()
|
|
|
148 |
# Create a Gradio interface
|
149 |
iface = gr.Interface(
|
150 |
fn=run_my_code,
|
151 |
+
inputs=[gr.inputs.Audio(source="microphone", type="filepath", label="Record something (in American/British English Accent)..."), gr.inputs.Radio(["Hindi", "Bengali", "Nepali", "French", "German"], label="Language To be Translated To")],
|
152 |
outputs=output_textbox,
|
153 |
+
title="English Speech To Multilingual Text Translator")
|
154 |
|
155 |
# Launch the interface
|
156 |
iface.launch()
|