Improve image upload in debug drawer
This commit is contained in:
@@ -12,6 +12,12 @@
|
||||
/api/webrtc/ice-servers WebRTC STUN/TURN 配置
|
||||
"""
|
||||
|
||||
import os
|
||||
|
||||
# NLTK 3.9+ blocks dependency imports when .venv lives under cwd (local dev layout).
|
||||
# pipecat -> nltk -> regex hits this false positive; disable before any nltk import.
|
||||
os.environ.setdefault("NLTK_DISABLE_IMPORT_SECURITY", "1")
|
||||
|
||||
from contextlib import asynccontextmanager
|
||||
|
||||
import settings
|
||||
|
||||
Reference in New Issue
Block a user