Spaces:
Running
Running
Update pages/Deep_Learning.py
Browse files- 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 {
|
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."
|