Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -78,8 +78,9 @@ 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 |
-
|
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 |
+
with gr.Row():
|
83 |
+
translate_button.click(translate_tamil_to_english, inputs=tamil_input, outputs=english_output)
|
84 |
|
85 |
with gr.Row():
|
86 |
english_paragraph_input = gr.Textbox(lines=5, placeholder="Enter English paragraph here...")
|