默认使用当前版本

This commit is contained in:
杍超
2025-01-22 14:38:13 +08:00
parent e842a00303
commit 933922334e
3 changed files with 2 additions and 2 deletions

View File

@@ -703,7 +703,7 @@ class WebRTC(Component):
time_limit: float | None = None,
mode: Literal["send-receive", "receive", "send"] = "send-receive",
modality: Literal["video", "audio", "audio-video"] = "video",
show_local_video: bool = False,
show_local_video: bool = True, # TODO 先默认打开
rtp_params: dict[str, Any] | None = None,
icon: str | None = None,
icon_button_color: str | None = None,

Binary file not shown.

View File

@@ -17,7 +17,7 @@ def check_node_installed():
print("Node.js is not installed or not found in PATH.")
return False
def install_wheel(whl_file, force_reinstall=False):
def install_wheel(whl_file, force_reinstall=True):
if force_reinstall:
subprocess.run(['pip', 'install', '--force-reinstall', whl_file])
print(f"Force reinstallation of {whl_file} successful.")