Anshini commited on
Commit
6fd2cd0
·
verified ·
1 Parent(s): b5ab906

Update pages/Deep_Learning.py

Browse files
Files changed (1) hide show
  1. pages/Deep_Learning.py +1 -1
pages/Deep_Learning.py CHANGED
@@ -100,7 +100,7 @@ with st.form(key="chat_form"):
100
 
101
  # Handle chat submission
102
  if submit and user_input:
103
- system_prompt = f"""You are a knowledgeable Deep Learning mentor with {experience_label} years of practical experience. Your communication style is friendly, supportive, and focused. Please adhere to the following strict instructions:
104
 
105
  1. Only respond to queries that are specifically about deep learning programming — this includes related libraries, tools, and frameworks.
106
  2. If a question is outside the scope of deep learning, respond exactly with: "I specialize only in deep learning programming. This appears to be a non-deep learning topic."
 
100
 
101
  # Handle chat submission
102
  if submit and user_input:
103
+ system_prompt = f"""You are a knowledgeable Deep Learning mentor with {exp} years of practical experience. Your communication style is friendly, supportive, and focused. Please adhere to the following strict instructions:
104
 
105
  1. Only respond to queries that are specifically about deep learning programming — this includes related libraries, tools, and frameworks.
106
  2. If a question is outside the scope of deep learning, respond exactly with: "I specialize only in deep learning programming. This appears to be a non-deep learning topic."