guymorlan commited on
Commit
979aa51
โ€ข
1 Parent(s): dbacc9b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -68,7 +68,7 @@ with gr.Blocks(title = "English to Levantine Arabic", css=css, theme="default")
68
  with gr.Row():
69
  with gr.Column():
70
  input_text = gr.Textbox(label="Input", placeholder="Enter English text", lines=1)
71
- gr.Examples(["I wanted to go to the store yesterday, but it rained", "How are you feeling today?", "Let's go to your place"], input_text)
72
  btn = gr.Button("Translate", label="Translate")
73
  with gr.Row():
74
  include = gr.CheckboxGroup(["Transliteration", "Syrian", "Lebanese", "Egyptian"],
@@ -93,7 +93,7 @@ with gr.Blocks(title = "English to Levantine Arabic", css=css, theme="default")
93
  with gr.Row():
94
  with gr.Column():
95
  input_text = gr.Textbox(label="Input", placeholder="Enter Levantine Arabic text", lines=1, elem_id="trans")
96
- gr.Examples(["ุฎู„ูŠู†ุง ู†ุฏูˆุฑ ุนู„ู‰ ู…ุทุนู… ุชุงู†ูŠ", "ู‚ุฏูŠุด ุญู‚ ุงู„ุจู†ุฏูˆุฑุฉุŸ"], input_text)
97
  btn = gr.Button("Translate", label="Translate")
98
  gr.Markdown("Built by [Guy Mor-Lan](mailto:guy.mor@mail.huji.ac.il).")
99
  with gr.Column():
@@ -103,7 +103,7 @@ with gr.Blocks(title = "English to Levantine Arabic", css=css, theme="default")
103
  with gr.Row():
104
  with gr.Column():
105
  input_text = gr.Textbox(label="Input", placeholder="Enter Levantine Arabic text", lines=1)
106
- gr.Examples(["ุฎู„ูŠู†ุง ู†ุฏูˆุฑ ุนู„ู‰ ู…ุทุนู… ุชุงู†ูŠ", "ู‚ุฏูŠุด ุญู‚ ุงู„ุจู†ุฏูˆุฑุฉุŸ"], input_text)
107
  btn = gr.Button("Transliterate", label="Transliterate")
108
  gr.Markdown("Built by [Guy Mor-Lan](mailto:guy.mor@mail.huji.ac.il)")
109
  with gr.Column():
 
68
  with gr.Row():
69
  with gr.Column():
70
  input_text = gr.Textbox(label="Input", placeholder="Enter English text", lines=1)
71
+ gr.Examples(["I wanted to go to the store yesterday, but it rained", "How are you feeling today?", "Let's drink coffee"], input_text)
72
  btn = gr.Button("Translate", label="Translate")
73
  with gr.Row():
74
  include = gr.CheckboxGroup(["Transliteration", "Syrian", "Lebanese", "Egyptian"],
 
93
  with gr.Row():
94
  with gr.Column():
95
  input_text = gr.Textbox(label="Input", placeholder="Enter Levantine Arabic text", lines=1, elem_id="trans")
96
+ gr.Examples(["ุฎู„ูŠู†ุง ู†ุฏูˆุฑ ุนู„ู‰ ู…ุทุนู… ุชุงู†ูŠ", "ูƒุงู† ุจุฏูŠ ุงูˆูƒู„ ุงุดูŠ ู‚ุจู„ ู…ุง ู†ุฑูˆุญ"], input_text)
97
  btn = gr.Button("Translate", label="Translate")
98
  gr.Markdown("Built by [Guy Mor-Lan](mailto:guy.mor@mail.huji.ac.il).")
99
  with gr.Column():
 
103
  with gr.Row():
104
  with gr.Column():
105
  input_text = gr.Textbox(label="Input", placeholder="Enter Levantine Arabic text", lines=1)
106
+ gr.Examples(["ุฎู„ูŠู†ุง ู†ุฏูˆุฑ ุนู„ู‰ ู…ุทุนู… ุชุงู†ูŠ", "ูƒุงู† ุจุฏูŠ ุงูˆูƒู„ ุงุดูŠ ู‚ุจู„ ู…ุง ู†ุฑูˆุญ"], input_text)
107
  btn = gr.Button("Transliterate", label="Transliterate")
108
  gr.Markdown("Built by [Guy Mor-Lan](mailto:guy.mor@mail.huji.ac.il)")
109
  with gr.Column():