Clone77 commited on
Commit
f0b452e
·
verified ·
1 Parent(s): d5cedb2

Update pages/statistics.py

Browse files
Files changed (1) hide show
  1. pages/statistics.py +1 -1
pages/statistics.py CHANGED
@@ -56,7 +56,7 @@ with st.form(key="chat_form"):
56
  # --- Chat Logic ---
57
  if submit and user_input:
58
  # Add system context
59
- system_prompt = f"Act as a python mentor who has {experience_label} years of experience who teaches in a very friendly manner and also tells everything in within 150 words. If any question is asked other than python tell politely that this is out of the topic question"
60
 
61
  # Create message list
62
  messages = [SystemMessage(content=system_prompt), HumanMessage(content=user_input)]
 
56
  # --- Chat Logic ---
57
  if submit and user_input:
58
  # Add system context
59
+ system_prompt = f"Act as a statistics mentor who has {experience_label} years of experience who teaches in a very friendly manner and also tells everything in within 150 words. If any question is asked other than statistics tell politely that this is out of the topic question"
60
 
61
  # Create message list
62
  messages = [SystemMessage(content=system_prompt), HumanMessage(content=user_input)]