MelisaRS commited on
Commit
ec3bd51
·
verified ·
1 Parent(s): 74da1f7
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,5 +1,5 @@
1
  from transformers import pipeline
2
  generator = pipeline("text-generation", model="EleutherAI/gpt-neo-2.7B")
3
 
4
-
5
  result = generator( prompt, max_length=400, num_return_sequences=1, do_sample=True, temperature=0.7, top_p=0.9, repetition_penalty=1.1, )
 
1
  from transformers import pipeline
2
  generator = pipeline("text-generation", model="EleutherAI/gpt-neo-2.7B")
3
 
4
+ prompt = "hola"
5
  result = generator( prompt, max_length=400, num_return_sequences=1, do_sample=True, temperature=0.7, top_p=0.9, repetition_penalty=1.1, )