Spaces:
Build error
Build error
Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
from dotenv import load_dotenv
|
| 3 |
+
|
| 4 |
+
load_dotenv()
|
| 5 |
+
|
| 6 |
+
st.title("CSV Analysis Tool")
|
| 7 |
+
st.header("Upload your csv file here:")
|
| 8 |
+
|
| 9 |
+
data = st.fileuploader("Upload CSV File", type = "csv")
|
| 10 |
+
|
| 11 |
+
query = st.textarea("Enter your query here:")
|
| 12 |
+
button = st.button("Generate response")
|
| 13 |
+
|
| 14 |
+
if button:
|
| 15 |
+
st.write("sam")
|