npc0 commited on
Commit
8a6427f
1 Parent(s): f6451f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -6,7 +6,7 @@ from langchain_groq import ChatGroq
6
 
7
  llm = ChatGroq(
8
  model="llama3-70b-8192",
9
- temperature=0.1,
10
  max_retries=2,
11
  )
12
 
@@ -61,6 +61,10 @@ 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['df'].chat(request)
65
  else:
66
  st.warning("Please select a conversation and load data first.")
 
 
 
 
 
6
 
7
  llm = ChatGroq(
8
  model="llama3-70b-8192",
9
+ temperature=0,
10
  max_retries=2,
11
  )
12
 
 
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']