Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,9 +6,9 @@ ar2bw = CharMapper.builtin_mapper('ar2bw')
|
|
6 |
bw2ar = CharMapper.builtin_mapper('bw2ar')
|
7 |
Secret_token = os.getenv('token')
|
8 |
|
9 |
-
title = """# Transliterate using
|
10 |
description = """
|
11 |
-
This app converts transliterated arabic text to Arabic using
|
12 |
"""
|
13 |
example = [["*hbt <lY Almktbp."]]
|
14 |
|
@@ -22,7 +22,7 @@ with gr.Blocks() as demo:
|
|
22 |
with gr.Row():
|
23 |
gr.Image('https://huggingface.co/spaces/FDSRashid/Camel_tools_Test/resolve/main/Buckwalter-transliteration-for-Arabic-language.jpg', width = 300, height = 900)
|
24 |
with gr.Column():
|
25 |
-
name = gr.Textbox(label="English Transliteration (Using
|
26 |
output = gr.Textbox(label="Arabic Form of Text")
|
27 |
greet_btn = gr.Button("Get Arabic")
|
28 |
examples = gr.Examples(examples = example, inputs = [name])
|
|
|
6 |
bw2ar = CharMapper.builtin_mapper('bw2ar')
|
7 |
Secret_token = os.getenv('token')
|
8 |
|
9 |
+
title = """# Transliterate using Buckwalter Scheme"""
|
10 |
description = """
|
11 |
+
This app converts transliterated arabic text to Arabic using Buckwalter Scheme. Use the following image to familiarize yourself with the conversion system.
|
12 |
"""
|
13 |
example = [["*hbt <lY Almktbp."]]
|
14 |
|
|
|
22 |
with gr.Row():
|
23 |
gr.Image('https://huggingface.co/spaces/FDSRashid/Camel_tools_Test/resolve/main/Buckwalter-transliteration-for-Arabic-language.jpg', width = 300, height = 900)
|
24 |
with gr.Column():
|
25 |
+
name = gr.Textbox(label="English Transliteration (Using Buckwalter System )")
|
26 |
output = gr.Textbox(label="Arabic Form of Text")
|
27 |
greet_btn = gr.Button("Get Arabic")
|
28 |
examples = gr.Examples(examples = example, inputs = [name])
|