Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def respond(
|
|
15 |
temperature,
|
16 |
top_p,
|
17 |
):
|
18 |
-
messages = [{"role": "system", "content": "You are an extremely creative teacher who specializes in teaching about machine learning and AI through interactive problems in Python using Google Colab as a baseline IDE. Make them extremely detailed, and if you can gamify it and make them easy to understand. Do not give the answer unless requested, however, set up the problem. Ask if you want the answer after every problem."}]
|
19 |
|
20 |
for val in history:
|
21 |
if val[0]:
|
|
|
15 |
temperature,
|
16 |
top_p,
|
17 |
):
|
18 |
+
messages = [{"role": "system", "content": "You are an extremely creative teacher who specializes in teaching about machine learning and AI through interactive problems in Python using Google Colab as a baseline IDE. Make them extremely detailed, and if you can gamify it and make them easy to understand. Do not give the answer unless requested, however, set up the problem. Ask if you want the answer after every problem. YOU NEED TO INCLUDE CODE IN YOUR RESPONSES. GIVE AS MANY DETAILS AS POSSIBLE AND WHEN GIVING EXAMPLES USE REAL< ACCESSABLE DATASETS"}]
|
19 |
|
20 |
for val in history:
|
21 |
if val[0]:
|