Sadjad Alikhani commited on
Commit
fb07a2d
·
verified ·
1 Parent(s): c4819db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -69,7 +69,9 @@ def process_p_file(uploaded_file, percentage_idx, complexity_idx):
69
  else:
70
  return f"Directory {model_repo_dir} does not exist."
71
 
 
72
  from lwm_model import LWM
 
73
  device = 'cpu'
74
  print(f"Loading the LWM model on {device}...")
75
  model = LWM.from_pretrained(device=device)
 
69
  else:
70
  return f"Directory {model_repo_dir} does not exist."
71
 
72
+ print("a")
73
  from lwm_model import LWM
74
+ print("b")
75
  device = 'cpu'
76
  print(f"Loading the LWM model on {device}...")
77
  model = LWM.from_pretrained(device=device)