balaramas commited on
Commit
d9e6fd6
1 Parent(s): 6228e0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 to Text Translator")
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()