bvd757 commited on
Commit
1eeb83f
·
1 Parent(s): 283dd4a
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -124,7 +124,7 @@ def forward(self,
124
  def load_model(test=False):
125
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
126
  try:
127
- path = 'Homework4'
128
  with open(f'{path}/label_to_theme.json', 'r') as f:
129
  label_to_theme = json.load(f)
130
  except:
 
124
  def load_model(test=False):
125
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
126
  try:
127
+ path = 'Papers_classification'
128
  with open(f'{path}/label_to_theme.json', 'r') as f:
129
  label_to_theme = json.load(f)
130
  except: