dindizz commited on
Commit
26640b1
·
verified ·
1 Parent(s): 11578f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -56,8 +56,8 @@ def text_to_speech(response, lang):
56
  iface = gr.Interface(
57
  fn=process_voice_or_text,
58
  inputs=[
59
- gr.Audio(source="microphone", type="filepath", optional=True, label="Voice Input (Tamil or English)"),
60
- gr.Textbox(label="Text Input (Tamil or English)", optional=True),
61
  gr.Radio(["ta", "en"], label="Output Language")
62
  ],
63
  outputs=[
 
56
  iface = gr.Interface(
57
  fn=process_voice_or_text,
58
  inputs=[
59
+ gr.Audio(type="filepath", label="Voice Input (Tamil or English)"),
60
+ gr.Textbox(label="Text Input (Tamil or English)", placeholder="Type your input here..."),
61
  gr.Radio(["ta", "en"], label="Output Language")
62
  ],
63
  outputs=[