Spaces:
Sleeping
Sleeping
import streamlit as st | |
import pandas as pd | |
import numpy as np | |
st.title('Movie Recommender System') | |
st.subheader('Welcome to the Movie Recommender System built by Shreemit') | |
user_id = st.text_input('Enter User ID here:') | |
print(user_id) | |
ratings = pd.read_csv('ratings.csv') | |
if user_id: | |
st.write('Movies you have rated:') | |
st.write(ratings[ratings['userId'] == int(user_id)]) | |
st.write('Your ID', user_id) | |