Update app.py
Browse files
app.py
CHANGED
|
@@ -461,7 +461,7 @@ with gr.Blocks(title="Arabic Transliterator with Google Translate") as demo:
|
|
| 461 |
show_copy_button=True,
|
| 462 |
label="Google Translate Results",
|
| 463 |
lines=2,
|
| 464 |
-
placeholder="Translations
|
| 465 |
)
|
| 466 |
|
| 467 |
|
|
@@ -474,8 +474,8 @@ with gr.Blocks(title="Arabic Transliterator with Google Translate") as demo:
|
|
| 474 |
|
| 475 |
with gr.Row():
|
| 476 |
combined_btn = gr.Button("ππ Transliterate & Speak", variant="secondary")
|
| 477 |
-
full_process_btn = gr.Button("ππ€π Full Process
|
| 478 |
-
complete_btn = gr.Button("πππ Complete Process + Translation", variant="primary")
|
| 479 |
|
| 480 |
# Audio outputs
|
| 481 |
with gr.Row():
|
|
@@ -490,7 +490,7 @@ with gr.Blocks(title="Arabic Transliterator with Google Translate") as demo:
|
|
| 490 |
with gr.Column():
|
| 491 |
manual_arabic_input = gr.Textbox(
|
| 492 |
label="Enter Arabic text to translate",
|
| 493 |
-
placeholder="Enter Arabic text for translation",
|
| 494 |
rtl=True
|
| 495 |
)
|
| 496 |
manual_translate_btn = gr.Button("π Translate to English", variant="secondary")
|
|
|
|
| 461 |
show_copy_button=True,
|
| 462 |
label="Google Translate Results",
|
| 463 |
lines=2,
|
| 464 |
+
placeholder="Translations will appear here...",
|
| 465 |
)
|
| 466 |
|
| 467 |
|
|
|
|
| 474 |
|
| 475 |
with gr.Row():
|
| 476 |
combined_btn = gr.Button("ππ Transliterate & Speak", variant="secondary")
|
| 477 |
+
full_process_btn = gr.Button("ππ€π Full Process (Audio)", variant="secondary")
|
| 478 |
+
complete_btn = gr.Button("πππ Complete Process (Audio + Translation)", variant="primary")
|
| 479 |
|
| 480 |
# Audio outputs
|
| 481 |
with gr.Row():
|
|
|
|
| 490 |
with gr.Column():
|
| 491 |
manual_arabic_input = gr.Textbox(
|
| 492 |
label="Enter Arabic text to translate",
|
| 493 |
+
placeholder="Enter Arabic text for English translation",
|
| 494 |
rtl=True
|
| 495 |
)
|
| 496 |
manual_translate_btn = gr.Button("π Translate to English", variant="secondary")
|