guymorlan commited on
Commit
8f07179
·
verified ·
1 Parent(s): af7d479

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -102,12 +102,11 @@ with gr.Blocks(theme=gr.themes.Soft(), title="Ammiya Tokenizer and Labeler") as
102
  gr.HTML("<h2><span style='color: #2563eb'>Colloquial Arabic</span></h2> Tokenizer and Annotator")
103
  with gr.Row():
104
  with gr.Column():
105
- input = gr.Textbox(label="Input", placeholder="Enter English Text", lines=1)
106
  gr.Examples(examples=["بديش اروح معك", "معملتش اشي"], inputs=input)
107
  btn = gr.Button("Analyze")
108
  with gr.Column():
109
- with gr.Box():
110
- html = gr.HTML()
111
  btn.click(predict, inputs=[input], outputs=[html])
112
  input.submit(predict, inputs=[input], outputs=[html])
113
 
 
102
  gr.HTML("<h2><span style='color: #2563eb'>Colloquial Arabic</span></h2> Tokenizer and Annotator")
103
  with gr.Row():
104
  with gr.Column():
105
+ input = gr.Textbox(label="Input", placeholder="Enter Arabic Text", lines=1)
106
  gr.Examples(examples=["بديش اروح معك", "معملتش اشي"], inputs=input)
107
  btn = gr.Button("Analyze")
108
  with gr.Column():
109
+ html = gr.HTML()
 
110
  btn.click(predict, inputs=[input], outputs=[html])
111
  input.submit(predict, inputs=[input], outputs=[html])
112