Spaces:
Sleeping
Sleeping
Amitontheweb
commited on
Commit
•
00a32cf
1
Parent(s):
b3565d0
Update app.py
Browse files
app.py
CHANGED
@@ -11,8 +11,8 @@ token = os.environ.get("HF_TOKEN")
|
|
11 |
# Load default model as GPT2 and other models
|
12 |
|
13 |
|
14 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
15 |
-
model = AutoModelForCausalLM.from_pretrained("
|
16 |
|
17 |
tokenizer_gpt2 = AutoTokenizer.from_pretrained("openai-community/gpt2")
|
18 |
model_gpt2 = AutoModelForCausalLM.from_pretrained("openai-community/gpt2")
|
|
|
11 |
# Load default model as GPT2 and other models
|
12 |
|
13 |
|
14 |
+
tokenizer = AutoTokenizer.from_pretrained("openai-community/gpt2")
|
15 |
+
model = AutoModelForCausalLM.from_pretrained("openai-community/gpt2")
|
16 |
|
17 |
tokenizer_gpt2 = AutoTokenizer.from_pretrained("openai-community/gpt2")
|
18 |
model_gpt2 = AutoModelForCausalLM.from_pretrained("openai-community/gpt2")
|