From 0fe7470b2906aa24311aa627404bc54ecc7af238 Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Sun, 2 Apr 2023 19:50:13 +0200 Subject: [PATCH] use OpenJourney --- bot.conf2 | 6 ------ matrix_pygmalion_bot/core.py | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 bot.conf2 diff --git a/bot.conf2 b/bot.conf2 deleted file mode 100644 index 18d9a4e..0000000 --- a/bot.conf2 +++ /dev/null @@ -1,6 +0,0 @@ -[Julia] -current_tick = 1310 - -[Hendrik] -current_tick = 1030 - diff --git a/matrix_pygmalion_bot/core.py b/matrix_pygmalion_bot/core.py index c74df4d..fa0252f 100644 --- a/matrix_pygmalion_bot/core.py +++ b/matrix_pygmalion_bot/core.py @@ -89,7 +89,7 @@ class Callbacks(object): negative_prompt = "ugly, tiling, poorly drawn hands, poorly drawn feet, poorly drawn face, out of frame, extra limbs, disfigured, deformed, body out of frame, bad anatomy, watermark, signature, cut off, low contrast, underexposed, overexposed, bad art, beginner, amateur, distorted face" if len(prompt) == 0: prompt = "a beautiful woman" - output = await ai.generate_image(prompt, negative_prompt, "https://api.runpod.ai/v1/stable-diffusion-v1/", self.bot.runpod_api_key) + output = await ai.generate_image(prompt, negative_prompt, "https://api.runpod.ai/v1/sd-openjourney/", self.bot.runpod_api_key) for imagefile in output: await self.bot.send_image(self.client, room.room_id, imagefile) return