Update app.py
Browse files
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(
|
| 60 |
-
gr.Textbox(label="Text Input (Tamil or English)",
|
| 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=[
|