Spaces:
Runtime error
Runtime error
Update bot.py
Browse files
bot.py
CHANGED
@@ -4,7 +4,8 @@ from fastapi import FastAPI, Request, Response
|
|
4 |
import logging
|
5 |
from telegram import Update
|
6 |
from telegram.ext import filters, MessageHandler, ApplicationBuilder, CommandHandler, ContextTypes
|
7 |
-
from utils.
|
|
|
8 |
from config_data.config import Config, load_config
|
9 |
|
10 |
config: Config = load_config()
|
|
|
4 |
import logging
|
5 |
from telegram import Update
|
6 |
from telegram.ext import filters, MessageHandler, ApplicationBuilder, CommandHandler, ContextTypes
|
7 |
+
from utils.get_answer_local import get_answer
|
8 |
+
# from utils.get_answer_hf_api import get_answer
|
9 |
from config_data.config import Config, load_config
|
10 |
|
11 |
config: Config = load_config()
|