From cf1ceb7c1fc5cd40a8db95bc55ed9f3f0e6db50d Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Fri, 7 Apr 2023 00:10:43 +0200 Subject: [PATCH] add missing bracket --- matrix_pygmalion_bot/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_pygmalion_bot/core.py b/matrix_pygmalion_bot/core.py index 1f672de..60b5581 100644 --- a/matrix_pygmalion_bot/core.py +++ b/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