Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
-
rom transformers
|
|
|
2 |
model_id = "gpt2"
|
3 |
|
4 |
model = GPT2LMHeadModel.from_pretrained(model_id)
|
|
|
1 |
+
rom transformers
|
2 |
+
import GPT2LMHeadModel, GPT2Tokenizer
|
3 |
model_id = "gpt2"
|
4 |
|
5 |
model = GPT2LMHeadModel.from_pretrained(model_id)
|