Commit
·
04d6ddc
1
Parent(s):
f9ed673
Delete app.py
Browse files
app.py
DELETED
|
@@ -1,19 +0,0 @@
|
|
| 1 |
-
import streamlit as st
|
| 2 |
-
from dotenv import load_dotenv
|
| 3 |
-
load_dotenv()
|
| 4 |
-
from utils import query_agent
|
| 5 |
-
|
| 6 |
-
st.title("Let's do some analysis on your file")
|
| 7 |
-
st.header("Please upload the document here:")
|
| 8 |
-
|
| 9 |
-
# Capture the file
|
| 10 |
-
|
| 11 |
-
data = st.file_uploader("Upload CSV file", type="csv")
|
| 12 |
-
|
| 13 |
-
query = st.text_area("Enter your query")
|
| 14 |
-
button = st.button("Generate Response")
|
| 15 |
-
|
| 16 |
-
if button:
|
| 17 |
-
# Get Response
|
| 18 |
-
answer = query_agent(data,query)
|
| 19 |
-
st.write(answer)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|