Spaces:
Build error
Build error
ShivamPansuriya
commited on
Commit
·
8274976
1
Parent(s):
08cb7ff
first commit
Browse files- app.py +18 -0
- movies.pkl +3 -0
- movies_dict.pkl +3 -0
- requirements.txt +4 -0
app.py
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import pickle
|
2 |
+
import streamlit as st
|
3 |
+
import requests
|
4 |
+
import pandas as pd
|
5 |
+
|
6 |
+
|
7 |
+
st.title('Movie Recommender System')
|
8 |
+
movies = pickle.load(open('movies.pkl','rb'))
|
9 |
+
|
10 |
+
movie_list = movies['title'].values
|
11 |
+
selected_movie = st.selectbox(
|
12 |
+
"Type or select a movie from the dropdown",
|
13 |
+
movie_list
|
14 |
+
)
|
15 |
+
|
16 |
+
|
17 |
+
|
18 |
+
|
movies.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f848f225a483d01d00ba311598994aff8c724ab7409ec8b4a175e483e704072f
|
3 |
+
size 2235257
|
movies_dict.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e9a65940b6abc3091a4a6b8891226aa9d18c98e536138b6f79ceaef8ac8e95ec
|
3 |
+
size 2216684
|
requirements.txt
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
streamlit
|
2 |
+
pandas
|
3 |
+
pickle
|
4 |
+
requests
|