File size: 374 Bytes
99edfdf
43fc99a
99edfdf
 
89ab7e2
 
d8614e9
 
 
 
c6ad62a
1
2
3
4
5
6
7
8
9
10
11
import pandas as pd
from io import StringIO
import streamlit as st

title = st.text_input(label='Enter your query')
# st.write('The current movie title is', title)
uploaded_file = st.file_uploader("Choose a file")
if uploaded_file is not None:
     # Can be used wherever a "file-like" object is accepted:
     dataframe = pd.read_csv(uploaded_file)
     st.table(dataframe)