Spaces:
Running
Running
Sadjad Alikhani
commited on
Update app.py
Browse files
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 =
|
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}"
|