Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -57,15 +57,16 @@ def generate_arabic_text(seed_text, num_words):
|
|
| 57 |
# Create the Gradio interface
|
| 58 |
iface = gr.Interface(
|
| 59 |
fn=generate_arabic_text,
|
| 60 |
-
outputs=gr.Textbox(label="النص
|
| 61 |
title="مولد نصوص بالعربية | Arbic text Generator with Hugging Face",
|
| 62 |
-
description="""
|
| 63 |
-
أدخل نصاً أولياً واختر عدد الكلمات التي تريد
|
| 64 |
-
سيتم توليد النص باللغة العربية
|
|
|
|
| 65 |
|
| 66 |
inputs=[
|
| 67 |
gr.Textbox(
|
| 68 |
-
label="أدخل النص
|
| 69 |
placeholder="ابدأ النص هنا...",
|
| 70 |
value="اه ماشي"
|
| 71 |
),
|
|
|
|
| 57 |
# Create the Gradio interface
|
| 58 |
iface = gr.Interface(
|
| 59 |
fn=generate_arabic_text,
|
| 60 |
+
outputs=gr.Textbox(label="النص المُنتج| Text Output"),
|
| 61 |
title="مولد نصوص بالعربية | Arbic text Generator with Hugging Face",
|
| 62 |
+
description="""
|
| 63 |
+
أدخل نصاً أولياً واختر عدد الكلمات التي تريد توليده
|
| 64 |
+
سيتم توليد النص باللغة العربية
|
| 65 |
+
| Just Enter your Arabic words ...it's time to go deeo.""",
|
| 66 |
|
| 67 |
inputs=[
|
| 68 |
gr.Textbox(
|
| 69 |
+
label="أدخل النص | Enter the text",
|
| 70 |
placeholder="ابدأ النص هنا...",
|
| 71 |
value="اه ماشي"
|
| 72 |
),
|