sd update
This commit is contained in:
parent
803acf514b
commit
25f9159155
@ -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:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
python-dotenv
|
python-dotenv
|
||||||
requests
|
requests
|
||||||
pytube
|
pytubefix
|
||||||
duckduckgo_search
|
duckduckgo_search
|
||||||
nio
|
nio
|
||||||
markdown2
|
markdown2
|
||||||
|
Loading…
Reference in New Issue
Block a user