1
0
mirror of https://github.com/janvarev/Irene-Voice-Assistant.git synced 2025-12-11 23:17:05 +02:00

убрана зависимость от fastapi_utils

This commit is contained in:
Janvarev Vladislav
2024-04-03 14:03:45 +03:00
parent 0074975d8e
commit b40c8c3876
5 changed files with 88 additions and 10 deletions

View File

@@ -9,13 +9,15 @@ from termcolor import cprint
import json
from starlette.websockets import WebSocket
try:
from fastapi_utils.tasks import repeat_every
except Exception as e:
cprint("Пожалуйста, установите fastapi-utils: pip install fastapi-utils","red")
exit(-1)
# try:
# from fastapi_utils.tasks import repeat_every
# except Exception as e:
# cprint("Пожалуйста, установите fastapi-utils: pip install fastapi-utils","red")
# exit(-1)
#from pydantic import BaseModel
from fastapi_utils_tasks import repeat_every
from vacore import VACore
import time