Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,11 +5,11 @@ from transformers import GPT2Tokenizer, GPT2Model
|
|
5 |
|
6 |
model = GPT2Model.from_pretrained('micrem73/GePpeTto-finetuned-ricettetrentine')
|
7 |
tokenizer = GPT2Tokenizer.from_pretrained(
|
8 |
-
'
|
9 |
)
|
10 |
|
11 |
shroom_generator = pipeline("text-generation", model=AutoModelWithLMHead.from_pretrained('micrem73/GePpeTto-finetuned-ricettetrentine'),
|
12 |
-
tokenizer='
|
13 |
do_sample=True,
|
14 |
max_length=100,
|
15 |
top_k=50,
|
|
|
5 |
|
6 |
model = GPT2Model.from_pretrained('micrem73/GePpeTto-finetuned-ricettetrentine')
|
7 |
tokenizer = GPT2Tokenizer.from_pretrained(
|
8 |
+
'LorenzoDeMattei/GePpeTto',
|
9 |
)
|
10 |
|
11 |
shroom_generator = pipeline("text-generation", model=AutoModelWithLMHead.from_pretrained('micrem73/GePpeTto-finetuned-ricettetrentine'),
|
12 |
+
tokenizer='LorenzoDeMattei/GePpeTto',
|
13 |
do_sample=True,
|
14 |
max_length=100,
|
15 |
top_k=50,
|