npc0 commited on
Commit
b871d30
·
verified ·
1 Parent(s): 8a6427f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -6
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
- st.session_state['answer'] = st.session_state['df'].chat(request)
 
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.")