|
|
@ -10,7 +10,7 @@ logger.add("log.log", encoding="utf-8", rotation="500MB")
|
|
|
|
def start_fastapi_server(shared_config):
|
|
|
|
def start_fastapi_server(shared_config):
|
|
|
|
from app import app
|
|
|
|
from app import app
|
|
|
|
app.shared_config = shared_config
|
|
|
|
app.shared_config = shared_config
|
|
|
|
uvicorn.run(app, host="0.0.0.0", port=8000)
|
|
|
|
uvicorn.run(app, host="0.0.0.0", port=8700)
|
|
|
|
|
|
|
|
|
|
|
|
def fetch_user_chat_content(ws_open_event, queue):
|
|
|
|
def fetch_user_chat_content(ws_open_event, queue):
|
|
|
|
fetcher = DouyinLiveWebFetcher(ws_open_event, queue)
|
|
|
|
fetcher = DouyinLiveWebFetcher(ws_open_event, queue)
|
|
|
|