Sadjad Alikhani commited on
Commit
5ab64c3
·
verified ·
1 Parent(s): 9185ad4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -109,7 +109,7 @@ def process_p_file(uploaded_file, percentage_idx, complexity_idx):
109
  sys.path.append(lwm_model_dir)
110
 
111
  # Step 5: Verify if lwm_model.py exists in the directory
112
- lwm_model_path = os.path.join(lwm_model_dir, 'lwm_model.py')
113
  if not os.path.exists(lwm_model_path):
114
  print(f"Error: lwm_model.py not found at {lwm_model_path}")
115
  return f"Error: lwm_model.py not found at {lwm_model_path}"
 
109
  sys.path.append(lwm_model_dir)
110
 
111
  # Step 5: Verify if lwm_model.py exists in the directory
112
+ lwm_model_path = 'lwm_model.py'
113
  if not os.path.exists(lwm_model_path):
114
  print(f"Error: lwm_model.py not found at {lwm_model_path}")
115
  return f"Error: lwm_model.py not found at {lwm_model_path}"