mohamedabdullah commited on
Commit
84b7b69
·
1 Parent(s): ef75438

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -12
app.py CHANGED
@@ -191,18 +191,19 @@ def ar_spelling_checker(text):
191
 
192
  return output
193
 
194
- with gr.Blocks(css="""#input{direction: rtl;}
195
- #component-112{height: 30px;}
196
- .gr-form{margin-top: 15px;}
197
- .gr-text-input{font-size: 17px; height:50px; padding: 0.725rem;}
198
- .text-gray-500{font-size: 16px; margin-bottom: 13px;}
199
- .gr-button{color: #084298; background-color: #cfe2ff; border-color: #b6d4fe;
200
- border: 1px solid transparent; border-radius: 0.25rem;
201
- padding: 15px 20px; font-size: 20px; font-weight: 500; font-family: 'IBM Plex Mono';}
202
- .output-html{min-height: 2rem;}
203
- .title{text-align: center;font-size: 25px;margin-top: 13px;position: absolute;width:100%;
204
- line-height: 1.5;font-family: 'IBM Plex Mono';}
205
- .desc{text-align: center; font-size: 17px; font-family: 'IBM Plex Mono'; margin-top: 46px;}""") as demo:
 
206
 
207
  intro = gr.HTML('<h1 class="title">Arabic Spelling Checker 🤗</h1>')
208
  description = gr.HTML('<p class="desc">Web-based app to detect spelling mistakes in Arabic words using dynamic programming</p>')
 
191
 
192
  return output
193
 
194
+ with gr.Blocks(css="""
195
+ #input{direction: rtl;}
196
+ #component-112{height: 30px;}
197
+ .gr-form{margin-top: 15px;}
198
+ .gr-text-input{font-size: 17px; height:50px; padding: 0.725rem;}
199
+ .text-gray-500{font-size: 16px; margin-bottom: 13px;}
200
+ .gr-button{color: #084298; background-color: #cfe2ff; border-color: #b6d4fe;
201
+ border: 1px solid transparent; border-radius: 0.25rem;
202
+ padding: 15px 20px; font-size: 20px; font-weight: 500; font-family: 'IBM Plex Mono';}
203
+ .output-html{min-height: 2rem;}
204
+ .title{text-align: center;font-size: 25px;margin-top: 13px;position: absolute;width:100%;
205
+ line-height: 1.5;font-family: 'IBM Plex Mono';}
206
+ .desc{text-align: center; font-size: 17px; font-family: 'IBM Plex Mono'; margin-top: 46px;}""") as demo:
207
 
208
  intro = gr.HTML('<h1 class="title">Arabic Spelling Checker 🤗</h1>')
209
  description = gr.HTML('<p class="desc">Web-based app to detect spelling mistakes in Arabic words using dynamic programming</p>')