Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ import spaces
|
|
8 |
max_length = 8192
|
9 |
|
10 |
# Load the model and tokenizer from Hugging Face Hub
|
11 |
-
model_name = "archit11/
|
12 |
config = GPT2Config.from_pretrained(model_name)
|
13 |
model = GPT2LMHeadModel.from_pretrained(model_name)
|
14 |
tokenizer = GPT2Tokenizer.from_pretrained(model_name)
|
|
|
8 |
max_length = 8192
|
9 |
|
10 |
# Load the model and tokenizer from Hugging Face Hub
|
11 |
+
model_name = "archit11/gpt2-long-finetuned"
|
12 |
config = GPT2Config.from_pretrained(model_name)
|
13 |
model = GPT2LMHeadModel.from_pretrained(model_name)
|
14 |
tokenizer = GPT2Tokenizer.from_pretrained(model_name)
|