xlinx / sd-webui-decadetw-auto-messaging-realtime

sd-webui-decadetw-Auto-Messaging-realtime
HomePage
MIT License
10 stars 0 forks source link

telegram bot not sending? #1

Open tazztone opened 3 weeks ago

tazztone commented 3 weeks ago

hi when i click "test send message" the image* arrives in telegram chat ✅ but when i generate images it doesn't send automatically 🤷 these are my settings: 2024-08-19 16 59 13 am i missing something?

*but the prompt is missing

xlinx commented 3 weeks ago

r u using other sd-web-ui version? it extension develop and test on AUTOMIC1111 basically,

the image save callback trigger is not implement by some other version, so whe u click test it's work, but image generate wont do anything. in this situsion after image generate then click test send again, u will see MSG on IM. anyway, if is this problem, let me check i'll find out some other way to trigger msg sendding.

if anything works, u should see

螢幕擷取畫面 2024-08-20 172558

tazztone commented 3 weeks ago

hi i use forge webui (installed with stability matrix.) ✅ i tested discord bot as well now. like telegram bot it worked with "test send". I enabled "SD INFO" so the prompt is included. ✅ (but "text-prompt" checkbox doesn't work. And "PNG INFO" only includes filename: ▣ImgFile-Info:output\txt2img-images\2024-08-20\00112-300339626.png) but i still can only trigger manually. i cannot get these to work: 2.1 SD-Image-generated count or 2.2 Timer-Countdown image cheers

xlinx commented 3 weeks ago

2.1 its most important function. Are u say this function works on discord but telgram wont trigger?

2.2 NEED click start timer button.

tazztone commented 3 weeks ago

both telegram and discord don't trigger with 2.1 and 2.2. i can only manually trigger (test send).

found this in terminal:

*** Error calling: C:\_stability_matrix\Data\Packages\stable-diffusion-webui-forge\extensions\sd-webui-decadetw-auto-messaging-realtime\scripts\auto_messaging_realtime.py/ui
    Traceback (most recent call last):
      File "C:\_stability_matrix\Data\Packages\stable-diffusion-webui-forge\modules\scripts.py", line 545, in wrap_call
        return func(*args, **kwargs)
      File "C:\_stability_matrix\Data\Packages\stable-diffusion-webui-forge\extensions\sd-webui-decadetw-auto-messaging-realtime\scripts\auto_messaging_realtime.py", line 700, in ui
        gr_blocks.load(fn=None, outputs=[im_line_notify_token, im_telegram_token_botid, im_telegram_token_chatid],
    TypeError: EventListener._setup.<locals>.event_trigger() got an unexpected keyword argument '_js'
xlinx commented 3 weeks ago

okay, i got it. forge not imprelement _js as method, its seems like autom1111 does. updated.

xlinx commented 3 weeks ago

ComfyUI online~

Auto prompt by LLM and LLM-Vision (Trigger more details out inside model) sd-web-ui: https://github.com/xlinx/sd-webui-decadetw-auto-prompt-llm ComfyUI: https://github.com/xlinx/ComfyUI-decadetw-auto-prompt-llm Automatic1111 | Forge extension (LINE | Telegram | Discord) sd-web-ui:https://github.com/xlinx/sd-webui-decadetw-auto-messaging-realtime ComfyUI: https://github.com/xlinx/ComfyUI-decadetw-auto-messaging-realtime