Skip to content

Commit

Permalink
extension_mode_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
innightwolfsleep committed Sep 14, 2023
1 parent 3a10e5d commit a28fbe9
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class TelegramBotWrapper:

def __init__(
self,
config_file_path="configs/run_config.json",
config_file_path="configs/app_config.json",
):
"""Init telegram bot class. Use run_telegram_bot() to initiate bot.
Expand Down
2 changes: 1 addition & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from main import TelegramBotWrapper
from dotenv import load_dotenv

config_file_path = "configs/run_config.json"
config_file_path = "configs/app_config.json"


def run_server(token):
Expand Down
2 changes: 1 addition & 1 deletion script.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# This module added to get compatibility with text-generation-webui-telegram_bot

config_file_path = "extensions/telegram_bot/configs/extension_config.json"
config_file_path = "extensions/telegram_bot/configs/ext_config.json"


def run_server(token=""):
Expand Down

0 comments on commit a28fbe9

Please sign in to comment.