Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -78,8 +78,8 @@ with gr.Blocks() as app:
|
|
78 |
with gr.Row():
|
79 |
tamil_input = gr.Textbox(lines=2, placeholder="Enter Tamil text here...")
|
80 |
english_output = gr.Textbox(label="English Translation")
|
81 |
-
translate_button = gr.Button("Translate")
|
82 |
-
|
83 |
|
84 |
with gr.Row():
|
85 |
english_paragraph_input = gr.Textbox(lines=5, placeholder="Enter English paragraph here...")
|
|
|
78 |
with gr.Row():
|
79 |
tamil_input = gr.Textbox(lines=2, placeholder="Enter Tamil text here...")
|
80 |
english_output = gr.Textbox(label="English Translation")
|
81 |
+
# translate_button = gr.Button("Translate")
|
82 |
+
tamil_input.submit(translate_tamil_to_english, inputs=tamil_input, outputs=english_output)
|
83 |
|
84 |
with gr.Row():
|
85 |
english_paragraph_input = gr.Textbox(lines=5, placeholder="Enter English paragraph here...")
|