Rzhishchev commited on
Commit
c835ca5
1 Parent(s): ddd05fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import torch
4
 
5
  DEVICE = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
6
 
7
- model_path = "/zhvanetsky_model_1"
8
  tokenizer = GPT2Tokenizer.from_pretrained(model_path)
9
  model = GPT2LMHeadModel.from_pretrained(model_path).to(DEVICE)
10
 
 
4
 
5
  DEVICE = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
6
 
7
+ model_path = "/zhvanetsky_model"
8
  tokenizer = GPT2Tokenizer.from_pretrained(model_path)
9
  model = GPT2LMHeadModel.from_pretrained(model_path).to(DEVICE)
10