Update app.py
Browse files
app.py
CHANGED
@@ -26,8 +26,10 @@ user_id = int(round(user_id))
|
|
26 |
|
27 |
# get recommendation and graph
|
28 |
|
29 |
-
|
30 |
-
|
|
|
|
|
31 |
|
32 |
ans = get_recommendation(model,data,user_id)
|
33 |
st.write(ans)
|
|
|
26 |
|
27 |
# get recommendation and graph
|
28 |
|
29 |
+
make_1_hop_graph(data,user_id)
|
30 |
+
HtmlFile1 = open('index.html', 'r', encoding='utf-8')
|
31 |
+
source_code1 = HtmlFile1.read()
|
32 |
+
components.html(source_code1, height=1200, width=1000)
|
33 |
|
34 |
ans = get_recommendation(model,data,user_id)
|
35 |
st.write(ans)
|