Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,8 @@ st.write('Loading Model')
|
|
| 21 |
model = load_model(data)
|
| 22 |
|
| 23 |
#get user_id
|
| 24 |
-
user_id = st.number_input('Give User-Id')
|
|
|
|
| 25 |
|
| 26 |
# get recommendation
|
| 27 |
ans = get_recommendation(model,data,user_id)
|
|
|
|
| 21 |
model = load_model(data)
|
| 22 |
|
| 23 |
#get user_id
|
| 24 |
+
user_id = st.number_input('Give User-Id')
|
| 25 |
+
user_id = int(round(user_id))
|
| 26 |
|
| 27 |
# get recommendation
|
| 28 |
ans = get_recommendation(model,data,user_id)
|