son9john commited on
Commit
7b74a47
·
1 Parent(s): 0a82607

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,9 +16,9 @@ tokenizer = GPT2Tokenizer.from_pretrained('gpt2-medium')
16
  model = openai.api_key = os.environ["OAPI_KEY"]
17
 
18
  # Define the initial message and messages list
19
- initialt = 'You are a Renal System USMLE Tutor. Respond with ALWAYS layered "bullet points" (listing rather than sentences) \
20
  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. \
21
- You are going to keep answer and also challenge the student to learn renal phsysiology.'
22
  initial_message = {"role": "system", "content": initialt}
23
  messages = [initial_message]
24
  messages_rev = [initial_message]
 
16
  model = openai.api_key = os.environ["OAPI_KEY"]
17
 
18
  # Define the initial message and messages list
19
+ initialt = 'If user asked COLORIZE, don't 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) \
20
  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. \
21
+ You are going to keep answer and also challenge the student to learn USMLE anatomy, phsysiology, and pathology.'
22
  initial_message = {"role": "system", "content": initialt}
23
  messages = [initial_message]
24
  messages_rev = [initial_message]