Setting model, /status command for pinging host

This commit is contained in:
BarsTiger
2023-03-06 22:53:30 +02:00
parent 8e3e6929d8
commit a5ce82f148
11 changed files with 171 additions and 3 deletions

View File

@@ -1,5 +1,7 @@
from bot.common import dp
from .txt2img import generate_command
from .set_model import set_model_command
from .status import get_status
from .set_settings import (
set_height_command, set_negative_prompt_command, set_size_command, set_steps_command, set_width_command,
set_prompt_command, set_sampler_command, set_cfg_scale_command, set_restore_faces_command
@@ -17,3 +19,5 @@ def register():
dp.register_message_handler(set_settings.set_sampler_command, commands='setsampler')
dp.register_message_handler(set_settings.set_cfg_scale_command, commands='setscale')
dp.register_message_handler(set_settings.set_restore_faces_command, commands='setfaces')
dp.register_message_handler(set_model.set_model_command, commands='setmodel')
dp.register_message_handler(status.get_status, commands='status')