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