SaviAnna commited on
Commit
1a8c51c
·
1 Parent(s): 231519d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def load_gpt():
28
  output_attentions = False,
29
  output_hidden_states = False,
30
  )
31
- model_GPT.load_state_dict(torch.load('model_history.pt', map_location=torch.device('cpu')))
32
  return model_GPT, tokenizer_GPT
33
 
34
  # # Вешаем сохраненные веса на нашу модель
 
28
  output_attentions = False,
29
  output_hidden_states = False,
30
  )
31
+ model_GPT.load_state_dict(torch.load('model_history_friday.pt', map_location=torch.device('cpu')))
32
  return model_GPT, tokenizer_GPT
33
 
34
  # # Вешаем сохраненные веса на нашу модель