Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ tokenizer = GPT2Tokenizer.from_pretrained('gpt2')
|
|
23 |
model = openai.api_key = os.environ["OPENAI_API_KEY"]
|
24 |
|
25 |
# Define the initial message and messages list
|
26 |
-
initialt = 'You are a
|
27 |
initial_message = {"role": "system", "content": initialt}
|
28 |
messages = [initial_message]
|
29 |
messages_rev = [initial_message]
|
|
|
23 |
model = openai.api_key = os.environ["OPENAI_API_KEY"]
|
24 |
|
25 |
# Define the initial message and messages list
|
26 |
+
initialt = 'You are a Tutor. Respond with ALWAYS layered "bullet points" (listing rather than sentences) to all input with a fun mneumonics to memorize that list. But you can answer up to 1200 words if the user requests longer response.'
|
27 |
initial_message = {"role": "system", "content": initialt}
|
28 |
messages = [initial_message]
|
29 |
messages_rev = [initial_message]
|