Skip to content
Open

Exp #31

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .gitattributes

This file was deleted.

37 changes: 37 additions & 0 deletions config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,41 @@
'edge': 0.3
}
}
}

XIADIE_CONFIG = {
'model_path': 'model/xiadie/model.pth',
'device': 'cuda', # 或 'cpu'
'batch_size': 1,
'input_size': (256, 256),
# 其他配置参数...
}

# 添加 Jitsi Meet 配置
JITSI_CONFIG = {
'domain': 'meet.jit.si',
'options': {
'width': '100%',
'height': '100%',
'configOverwrite': {
'startWithAudioMuted': False,
'startWithVideoMuted': True,
'disableDeepLinking': True
},
'interfaceConfigOverwrite': {
'TOOLBAR_BUTTONS': [
'microphone', 'camera', 'closedcaptions', 'desktop',
'fullscreen', 'hangup', 'chat', 'settings', 'raisehand',
'videoquality', 'filmstrip', 'shortcuts'
]
}
}
}

# 添加 WebSocket 配置
SOCKET_CONFIG = {
'ping_timeout': 60,
'ping_interval': 25,
'cors_allowed_origins': '*',
'max_http_buffer_size': 1e8
}
Loading