son9john commited on
Commit
d52cd3e
·
1 Parent(s): b5eb4f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = 'If user asked COLORIZE, dont need to do anything but present the input as it is with organized tabs (layers). 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}
 
23
  model = openai.api_key = os.environ["OAPI_KEY"]
24
 
25
  # Define the initial message and messages list
26
+ initialt = 'If user input COLORIZE in the first line, dont need to do anything but present the input as it is with organized tabs (layers). 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}