mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-05 18:09:23 +08:00
默认使用当前版本
This commit is contained in:
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user