Update app.py
Browse files
app.py
CHANGED
|
@@ -453,21 +453,21 @@ with gr.Blocks(title="Arabic Transliterator with Google Translate") as demo:
|
|
| 453 |
|
| 454 |
# IPA output row
|
| 455 |
with gr.Row():
|
| 456 |
-
|
| 457 |
-
|
| 458 |
-
|
| 459 |
-
|
| 460 |
-
|
| 461 |
-
|
| 462 |
-
|
| 463 |
-
|
| 464 |
-
|
| 465 |
-
translation_output = gr.Textbox(
|
| 466 |
show_copy_button=True,
|
| 467 |
label="🌐 Google Translate Results",
|
| 468 |
lines=2,
|
| 469 |
placeholder="Translations and meanings will appear here...",
|
| 470 |
)
|
|
|
|
| 471 |
|
| 472 |
# Button controls
|
| 473 |
with gr.Row():
|
|
|
|
| 453 |
|
| 454 |
# IPA output row
|
| 455 |
with gr.Row():
|
| 456 |
+
with gr.Column():
|
| 457 |
+
ipa_output = gr.Textbox(
|
| 458 |
+
show_copy_button=True,
|
| 459 |
+
label="IPA Phonetic Transcription (Arabic pronunciation)",
|
| 460 |
+
lines=2,
|
| 461 |
+
placeholder="Shows how the Arabic sounds should be pronounced using IPA symbols"
|
| 462 |
+
)
|
| 463 |
+
with gr.Column
|
| 464 |
+
translation_output = gr.Textbox(
|
|
|
|
| 465 |
show_copy_button=True,
|
| 466 |
label="🌐 Google Translate Results",
|
| 467 |
lines=2,
|
| 468 |
placeholder="Translations and meanings will appear here...",
|
| 469 |
)
|
| 470 |
+
|
| 471 |
|
| 472 |
# Button controls
|
| 473 |
with gr.Row():
|