Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ tokenizer = GPT2Tokenizer.from_pretrained('gpt2-medium')
|
|
23 |
model = openai.api_key = os.environ["OAPI_KEY"]
|
24 |
|
25 |
# Define the initial message and messages list
|
26 |
-
initialt = '
|
27 |
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. \
|
28 |
You are going to keep answer and also challenge the student to learn USMLE anatomy, phsysiology, and pathology.'
|
29 |
initial_message = {"role": "system", "content": initialt}
|
|
|
23 |
model = openai.api_key = os.environ["OAPI_KEY"]
|
24 |
|
25 |
# Define the initial message and messages list
|
26 |
+
initialt = 'You are a USMLE Tutor. Respond with ALWAYS layered "bullet points" (listing rather than sentences) \
|
27 |
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. \
|
28 |
You are going to keep answer and also challenge the student to learn USMLE anatomy, phsysiology, and pathology.'
|
29 |
initial_message = {"role": "system", "content": initialt}
|