Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -95,15 +95,14 @@ article = "<p style='text-align: center'>Don't miss this other cool space based
|
|
95 |
iface = gr.Interface(
|
96 |
fn=make_poem,
|
97 |
title='Generación de poemas',
|
98 |
-
description="""For the participation in the First Spanish Hackathon of NLP the team worked with two datasets
|
|
|
|
|
|
|
99 |
|
100 |
-
|
101 |
|
102 |
-
|
103 |
-
|
104 |
-
For the dataset of sonnets was trained a GPT-2 model that you can find [here](https://huggingface.co/hackathon-pln-es/gpt2-small-spanish-disco-poetry) and was created this [space](https://huggingface.co/spaces/hackathon-pln-es/sonnet-poetry-generator-spanish).
|
105 |
-
|
106 |
-
For the second dataset was trained a T5 model that you can find [here](https://huggingface.co/hackathon-pln-es/poem-gen-spanish-t5-small) and this is the space that was created to play with it :)""",
|
107 |
inputs=
|
108 |
[
|
109 |
gr.inputs.Dropdown(sorted(author_set), type="value", label='Nombre del autor'),
|
|
|
95 |
iface = gr.Interface(
|
96 |
fn=make_poem,
|
97 |
title='Generación de poemas',
|
98 |
+
description="""<p>For the participation in the First Spanish Hackathon of NLP the team worked with two datasets.</p>
|
99 |
+
<ul>
|
100 |
+
<li>- The first one was a collection of [sonnets in Spanish](https://huggingface.co/datasets/hackathon-pln-es/disco_spanish_poetry), and</li>
|
101 |
+
<li>- the second one was a collection of [poems](https://huggingface.co/datasets/hackathon-pln-es/spanish-poetry-dataset).</li>
|
102 |
|
103 |
+
<p>For the dataset of sonnets was trained a GPT-2 model that you can find [here](https://huggingface.co/hackathon-pln-es/gpt2-small-spanish-disco-poetry) and was created this [space](https://huggingface.co/spaces/hackathon-pln-es/sonnet-poetry-generator-spanish).</p>
|
104 |
|
105 |
+
<p>For the second dataset was trained a T5 model that you can find [here](https://huggingface.co/hackathon-pln-es/poem-gen-spanish-t5-small) and this is the space that was created to play with it :)</p>""",
|
|
|
|
|
|
|
|
|
106 |
inputs=
|
107 |
[
|
108 |
gr.inputs.Dropdown(sorted(author_set), type="value", label='Nombre del autor'),
|