Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,6 +14,7 @@ samples = [['أنت'
|
|
14 |
,1.0, 50, 1.0, 1.0, 114]]
|
15 |
|
16 |
notes = """
|
|
|
17 |
- Enter a short prompt or select (click) one of the examples and click SEND
|
18 |
- Adjust parameters (temperture, top k, top p and penalty) through the slider (keep close to default values).
|
19 |
- For the same seed (randomness), the same output is regenerated if other parameters are fixed
|
@@ -45,7 +46,7 @@ poetry = gr.Interface(fn=sayPoetry,
|
|
45 |
outputs=[gr.Textbox(label="Generated Poetry:")],
|
46 |
|
47 |
allow_flagging='never',
|
48 |
-
title='Arabic Poetry Generation Demo (
|
49 |
description = "A simple demo of AI generated poetry based on 1M poems fine-tuned using AraGPT2 (be patient, runs on cpu)",
|
50 |
examples=samples,
|
51 |
cache_examples=False,
|
|
|
14 |
,1.0, 50, 1.0, 1.0, 114]]
|
15 |
|
16 |
notes = """
|
17 |
+
- use https://huggingface.co/spaces/akhooli/poetry instead
|
18 |
- Enter a short prompt or select (click) one of the examples and click SEND
|
19 |
- Adjust parameters (temperture, top k, top p and penalty) through the slider (keep close to default values).
|
20 |
- For the same seed (randomness), the same output is regenerated if other parameters are fixed
|
|
|
46 |
outputs=[gr.Textbox(label="Generated Poetry:")],
|
47 |
|
48 |
allow_flagging='never',
|
49 |
+
title='Arabic Poetry Generation Demo (see https://huggingface.co/spaces/akhooli/poetry)',
|
50 |
description = "A simple demo of AI generated poetry based on 1M poems fine-tuned using AraGPT2 (be patient, runs on cpu)",
|
51 |
examples=samples,
|
52 |
cache_examples=False,
|