sachin-philip commited on
Commit
efc15e1
·
1 Parent(s): a3de586

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +29 -0
app.py ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ import pandas as pd
3
+
4
+ st.write("""
5
+ # Personal GPT
6
+ """)
7
+
8
+ with st.sidebar:
9
+ ping = st.text_input("API Key")
10
+
11
+
12
+ tab1, tab2 = st.tabs(["New File", "History"])
13
+ # tab1.write("this is tab 1")
14
+
15
+ with tab1:
16
+ file = st.file_uploader("Upload a CSV to visualise")
17
+ # st.button("Click me")
18
+ if file:
19
+ df = pd.read_csv(file)
20
+ st.line_chart(df)
21
+
22
+ # st.text_input(ping)
23
+ # st.number_input("Pick a number", 0, 10)
24
+ # st.text_area("Text to translate")
25
+ # st.date_input("Your birthday")
26
+ # st.time_input("Meeting time")
27
+ # st.file_uploader("Upload a CSV")
28
+ # st.camera_input("Take a picture")
29
+ # st.color_picker("Pick a color")