sagar007 commited on
Commit
a075fee
·
verified ·
1 Parent(s): 2b8bce6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -116,7 +116,7 @@ def load_model(model_path):
116
  return model
117
 
118
  # Load the model
119
- model = load_model('gpt_5000.pt') # Replace with the actual path to your .pt file
120
  enc = tiktoken.get_encoding('gpt2')
121
 
122
  # Improved text generation function
 
116
  return model
117
 
118
  # Load the model
119
+ model = load_model('gpt_model.pth') # Replace with the actual path to your .pt file
120
  enc = tiktoken.get_encoding('gpt2')
121
 
122
  # Improved text generation function