sd update

This commit is contained in:
Hash Borgir 2024-03-01 09:21:29 -07:00
parent 803acf514b
commit 25f9159155
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ async def handle_command(room, message, bot, prefix, config):
prompt = message.body[len(prefix) + len("sd"):].strip() # Extract prompt from message body prompt = message.body[len(prefix) + len("sd"):].strip() # Extract prompt from message body
payload = { payload = {
"prompt": prompt, "prompt": prompt,
"steps": 32 "steps": 16
} }
url = "http://127.0.0.1:7860/sdapi/v1/txt2img" url = "http://127.0.0.1:7860/sdapi/v1/txt2img"
try: try:

View File

@ -1,6 +1,6 @@
python-dotenv python-dotenv
requests requests
pytube pytubefix
duckduckgo_search duckduckgo_search
nio nio
markdown2 markdown2