Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def sayPoetry(prompt):
|
|
15 |
tb = gr.Textbox(label="Enter your prompt or select from examples:", placeholder="أنا الذي", lines=1)
|
16 |
p_app = gr.Interface(fn=sayPoetry, inputs=tb, outputs="text", allow_flagging='never',
|
17 |
title='Arabic Poetry Generation Demo',
|
18 |
-
description = "a simple demo based on poems fine-tuned using AraGPT2 (be patient, runs on cpu)",
|
19 |
-
examples=[['لولا كتاب'], ['ألا ليت'],['يا قدس'],['عيد بأية حال'],['.']])
|
20 |
|
21 |
p_app.launch()
|
|
|
15 |
tb = gr.Textbox(label="Enter your prompt or select from examples:", placeholder="أنا الذي", lines=1)
|
16 |
p_app = gr.Interface(fn=sayPoetry, inputs=tb, outputs="text", allow_flagging='never',
|
17 |
title='Arabic Poetry Generation Demo',
|
18 |
+
description = "a simple demo based on 1M poems fine-tuned using AraGPT2 (be patient, runs on cpu)",
|
19 |
+
examples=[['لولا كتاب'], ['ألا ليت'],['يا قدس'],['عيد بأية حال'], ['لكل شيئ إذا ما'],['.']])
|
20 |
|
21 |
p_app.launch()
|