Spaces:
Runtime error
Runtime error
GastonOrphant
commited on
Commit
•
24d2e82
1
Parent(s):
83d3cf4
Update app.py
Browse files
app.py
CHANGED
@@ -30,9 +30,9 @@ df_ml = restaurants.drop("latitude", "longitude", "main_category", "date", "resp
|
|
30 |
|
31 |
# Loading the trained model
|
32 |
|
33 |
-
|
34 |
|
35 |
-
path = "
|
36 |
model = ALSModel.load(path)
|
37 |
|
38 |
# RECOMMENDATION SYSTEM
|
|
|
30 |
|
31 |
# Loading the trained model
|
32 |
|
33 |
+
from pyspark.ml.recommendation import ALS, ALSModel
|
34 |
|
35 |
+
path = "/model/modelALS"
|
36 |
model = ALSModel.load(path)
|
37 |
|
38 |
# RECOMMENDATION SYSTEM
|