Meena commited on
Commit
28b33b6
1 Parent(s): 1ce01d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -1,11 +1,16 @@
1
  import pandas as pd
2
  from io import StringIO
3
  import streamlit as st
 
4
 
5
- title = st.text_input(label='Enter your query')
6
  # st.write('The current movie title is', title)
7
  uploaded_file = st.file_uploader("Choose a file")
8
  if uploaded_file is not None:
 
9
  # Can be used wherever a "file-like" object is accepted:
10
  dataframe = pd.read_csv(uploaded_file)
11
- st.table(dataframe)
 
 
 
 
1
  import pandas as pd
2
  from io import StringIO
3
  import streamlit as st
4
+ from app.tapas import execute_query
5
 
6
+ query = st.text_input(label='Enter your query')
7
  # st.write('The current movie title is', title)
8
  uploaded_file = st.file_uploader("Choose a file")
9
  if uploaded_file is not None:
10
+ st.write(query)
11
  # Can be used wherever a "file-like" object is accepted:
12
  dataframe = pd.read_csv(uploaded_file)
13
+ st.table(dataframe)
14
+
15
+
16
+