jorge-henao commited on
Commit
b8b622c
1 Parent(s): 81628dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,7 +14,7 @@ def make_new_sonnet(prompt, max_lenght):
14
  num_return_sequences=1)
15
  return ouputs[0]['generated_text']
16
 
17
- article = "<p style='text-align: center'>Don't miss this other cool space based in a model of different styles of poetry in spanish: <a href=https://huggingface.co/spaces/hackathon-pln-es/poem-generation-es>poem-generation-es</a></p>"
18
  examples = [
19
  ['vendrá la muerte y tendrá tus ojos',140],
20
  ['buenas cosas pasan cuando anochece', 200],
@@ -31,4 +31,4 @@ iface = gr.Interface(fn=make_new_sonnet,
31
  article= article,
32
  examples = examples
33
  )
34
- iface.launch(debug=True)
 
14
  num_return_sequences=1)
15
  return ouputs[0]['generated_text']
16
 
17
+ article = "<p style='text-align: center'>Don't miss this other cool space based in a model of different styles of poetry in spanish: <a href='https://huggingface.co/spaces/hackathon-pln-es/poem-generation-es' target='_blank'>poem-generation-es</a></p>"
18
  examples = [
19
  ['vendrá la muerte y tendrá tus ojos',140],
20
  ['buenas cosas pasan cuando anochece', 200],
 
31
  article= article,
32
  examples = examples
33
  )
34
+ iface.launch(enable_queue=True)