wagner-austin
commited on
Commit
·
68c6a96
1
Parent(s):
68edb1e
UI: Move tip above examples for better visibility
Browse files
app.py
CHANGED
|
@@ -66,8 +66,6 @@ with gr.Blocks(title="Turkic Transliteration Demo") as demo:
|
|
| 66 |
)
|
| 67 |
stats = gr.Markdown(value="")
|
| 68 |
|
| 69 |
-
# Tip for clickable examples
|
| 70 |
-
gr.Markdown("👉 **Tip:** Click an example below to instantly fill in the fields and see the transliteration!")
|
| 71 |
# Example inputs
|
| 72 |
examples = [
|
| 73 |
["Қазақ тілі - Түркі тілдерінің бірі.", "kk", "Latin"],
|
|
@@ -75,6 +73,7 @@ with gr.Blocks(title="Turkic Transliteration Demo") as demo:
|
|
| 75 |
["Кыргыз тили - Түрк тилдеринин бири.", "ky", "Latin"],
|
| 76 |
["Кыргыз тили - Түрк тилдеринин бири.", "ky", "IPA"]
|
| 77 |
]
|
|
|
|
| 78 |
gr.Examples(examples, [input_text, lang, output_format])
|
| 79 |
|
| 80 |
# Live preview: update output while the user types
|
|
|
|
| 66 |
)
|
| 67 |
stats = gr.Markdown(value="")
|
| 68 |
|
|
|
|
|
|
|
| 69 |
# Example inputs
|
| 70 |
examples = [
|
| 71 |
["Қазақ тілі - Түркі тілдерінің бірі.", "kk", "Latin"],
|
|
|
|
| 73 |
["Кыргыз тили - Түрк тилдеринин бири.", "ky", "Latin"],
|
| 74 |
["Кыргыз тили - Түрк тилдеринин бири.", "ky", "IPA"]
|
| 75 |
]
|
| 76 |
+
gr.Markdown("👉 **Tip:** Click an example below to instantly fill in the fields and see the transliteration!")
|
| 77 |
gr.Examples(examples, [input_text, lang, output_format])
|
| 78 |
|
| 79 |
# Live preview: update output while the user types
|