harrygens commited on
Commit
d97d398
·
1 Parent(s): 8f0e024

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ def chatbot(race, cls, input, localvar):
77
  )
78
  reply = chat.choices[0].message.content
79
  logging.info("AI Reply:"+reply)
80
- if " ai " in input.lower():
81
  reply = "As the DM, my purpose is to create an enjoyable and inclusive experience for all players. While I understand that you seek a more realistic and diverse adventure, my duty requires me to guide you through this world while adhering to the guidelines. Instead of "+input+",consider exploring options within the world.\n" + messages[-2]["content"]
82
  if len(messages) == 2:
83
  localvar['status'] = reply
 
77
  )
78
  reply = chat.choices[0].message.content
79
  logging.info("AI Reply:"+reply)
80
+ if " ai " in input.lower():
81
  reply = "As the DM, my purpose is to create an enjoyable and inclusive experience for all players. While I understand that you seek a more realistic and diverse adventure, my duty requires me to guide you through this world while adhering to the guidelines. Instead of "+input+",consider exploring options within the world.\n" + messages[-2]["content"]
82
  if len(messages) == 2:
83
  localvar['status'] = reply