Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -61,10 +61,7 @@ request = st.text_input(
|
|
61 |
# Execute chat and display results
|
62 |
if st.button("Analyze"):
|
63 |
if st.session_state['df'] is not None:
|
64 |
-
|
|
|
65 |
else:
|
66 |
-
st.warning("Please select a conversation and load data first.")
|
67 |
-
|
68 |
-
url
|
69 |
-
st.session_state['df']
|
70 |
-
st.session_state['answer']
|
|
|
61 |
# Execute chat and display results
|
62 |
if st.button("Analyze"):
|
63 |
if st.session_state['df'] is not None:
|
64 |
+
file = st.session_state['df'].chat(request)
|
65 |
+
st.image(file)
|
66 |
else:
|
67 |
+
st.warning("Please select a conversation and load data first.")
|
|
|
|
|
|
|
|