Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -76,9 +76,9 @@ st.markdown(
|
|
76 |
|
77 |
# Function to handle Q&A option
|
78 |
def code_for_option_1(api_key):
|
79 |
-
st.write('<div class="greeting-text">Hello,
|
80 |
st.sidebar.info("Ask any question about the uploaded Excel or CSV data.")
|
81 |
-
st.sidebar.image("https://miro.medium.com/v2/resize:fit:786/format:webp/1*qUFgGhSERoWAa08MV6AVCQ.jpeg",
|
82 |
|
83 |
uploaded_file = st.file_uploader("Upload Excel or CSV file:", type=["xlsx", "csv"])
|
84 |
|
@@ -134,7 +134,7 @@ def code_for_option_1(api_key):
|
|
134 |
|
135 |
# Function to handle EDA option
|
136 |
def code_for_option_2():
|
137 |
-
st.sidebar.image("https://miro.medium.com/v2/resize:fit:702/1*Ra02AqsQlC0KV229EvM98g.png",
|
138 |
st.sidebar.info("Explore insights from the uploaded data.")
|
139 |
|
140 |
uploaded_file = st.file_uploader("Upload Excel or CSV file:", type=["xlsx", "csv"])
|
@@ -165,7 +165,7 @@ def code_for_option_2():
|
|
165 |
|
166 |
# Main UI layout
|
167 |
def main():
|
168 |
-
st.sidebar.image("https://
|
169 |
st.title("DocTalk : Chat with Excel/CSV")
|
170 |
st.sidebar.title("Options")
|
171 |
selected_option = st.sidebar.radio("Select an option:", ("Chat with Excel/CSV", "EDA"))
|
|
|
76 |
|
77 |
# Function to handle Q&A option
|
78 |
def code_for_option_1(api_key):
|
79 |
+
st.write('<div class="greeting-text">Hello, Sangram!</div>', unsafe_allow_html=True)
|
80 |
st.sidebar.info("Ask any question about the uploaded Excel or CSV data.")
|
81 |
+
st.sidebar.image("https://miro.medium.com/v2/resize:fit:786/format:webp/1*qUFgGhSERoWAa08MV6AVCQ.jpeg", use_container_width=True)
|
82 |
|
83 |
uploaded_file = st.file_uploader("Upload Excel or CSV file:", type=["xlsx", "csv"])
|
84 |
|
|
|
134 |
|
135 |
# Function to handle EDA option
|
136 |
def code_for_option_2():
|
137 |
+
st.sidebar.image("https://miro.medium.com/v2/resize:fit:702/1*Ra02AqsQlC0KV229EvM98g.png", use_container_width=True)
|
138 |
st.sidebar.info("Explore insights from the uploaded data.")
|
139 |
|
140 |
uploaded_file = st.file_uploader("Upload Excel or CSV file:", type=["xlsx", "csv"])
|
|
|
165 |
|
166 |
# Main UI layout
|
167 |
def main():
|
168 |
+
st.sidebar.image("https://miro.medium.com/v2/resize:fit:702/1*Ra02AqsQlC0KV229EvM98g.png", use_container_width=True)
|
169 |
st.title("DocTalk : Chat with Excel/CSV")
|
170 |
st.sidebar.title("Options")
|
171 |
selected_option = st.sidebar.radio("Select an option:", ("Chat with Excel/CSV", "EDA"))
|