some adjustements for server deployment

This commit is contained in:
2025-03-25 08:53:22 +00:00
parent 4971f1e7f6
commit 36dd34b042
3 changed files with 5 additions and 8 deletions
+2 -6
View File
@@ -26,16 +26,12 @@ aioconsole="0.8.1"
lc3 = { git = "ssh://git@ssh.pstruebi.xyz:222/auracaster/liblc3.git", rev = "7558637303106c7ea971e7bb8cedf379d3e08bcc" }
auracast = { git = "ssh://git@ssh.pstruebi.xyz:222/auracaster/bumble-auracast.git" }
[tool.poetry.group.gpu.dependencies]
onnxruntime-gpu = "^1.21.0"
[tool.poetry.group.dev.dependencies]
pytest = ">8.2"
#[tool.poetry.group.auracast_onboard.dependencies]
#[tool.poetry.group.tts.dependencies]
#piper-phonemize = "==1.1.0"
#piper-tts = "==1.2.0"
[tool.pytest.ini_options]
addopts = [
@@ -19,7 +19,7 @@ ENDPOINTS: dict[int: Endpoint] = { # for now make sure, .id and key are the same
1: Endpoint(
id=1,
name="Gate 1",
url="http://pi3:5000",
url="http://pi4:5000",
max_broadcasts=3,
),
2: Endpoint(
@@ -329,9 +329,10 @@ async def get_available_languages():
if __name__ == "__main__":
import os
import uvicorn
log.basicConfig(
level=log.DEBUG,
level=os.environ.get('LOG_LEVEL', log.DEBUG),
format='%(module)s.py:%(lineno)d %(levelname)s: %(message)s'
)
# with reload=True logging of modules does not function as expected