Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def get_random_course():
|
|
13 |
row=coursedf.sample(1)
|
14 |
return row['ref'], row['title']
|
15 |
|
16 |
-
def recommend(
|
17 |
pairs = {}
|
18 |
|
19 |
for i in range(len(coursedf)):
|
|
|
13 |
row=coursedf.sample(1)
|
14 |
return row['ref'], row['title']
|
15 |
|
16 |
+
def recommend(index):
|
17 |
pairs = {}
|
18 |
|
19 |
for i in range(len(coursedf)):
|