RobPruzan commited on
Commit
068ae41
1 Parent(s): 3eaa975

Fixing file paths for model and examples

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -40,7 +40,7 @@ tokenizer = DistilBertTokenizer.from_pretrained('distilbert-base-uncased')
40
  device = torch.device('cuda' if torch.cuda.is_available else 'cpu')
41
 
42
  #loading model
43
- PATH = '"C:\Users\Robby\Desktop\automaticlit\pytorchBERTmodel"'
44
  model = torch.load(PATH)
45
  model.eval()
46
 
@@ -296,7 +296,7 @@ def plot():
296
  import csv
297
  example_data = []
298
  x = 0
299
- with open('C:\Users\Robby\Desktop\automaticlit\train.csv') as f:
300
 
301
  reader = csv.reader(f)
302
 
 
40
  device = torch.device('cuda' if torch.cuda.is_available else 'cpu')
41
 
42
  #loading model
43
+ PATH = 'pytorchBERTmodel'
44
  model = torch.load(PATH)
45
  model.eval()
46
 
 
296
  import csv
297
  example_data = []
298
  x = 0
299
+ with open('train.csv') as f:
300
 
301
  reader = csv.reader(f)
302