Browse Source

add missing bracket

master
Hendrik Langer 2 years ago
parent
commit
cf1ceb7c1f
  1. 2
      matrix_pygmalion_bot/core.py

2
matrix_pygmalion_bot/core.py

@ -156,7 +156,7 @@ class Callbacks(object):
self.bot.negative_prompt = None
return
elif event.body.startswith('!temperature'):
self.bot.temperature = float( event.body.removeprefix('!temperature').strip()
self.bot.temperature = float( event.body.removeprefix('!temperature').strip() )
elif event.body.startswith('!begin'):
self.bot.chat_history.room(room.display_name).clear()
self.bot.room_config[room.room_id]["tick"] = 0

Loading…
Cancel
Save