Update updater_facefusion.py
Browse files- updater_facefusion.py +3 -2
updater_facefusion.py
CHANGED
@@ -104,8 +104,9 @@ def start_ff(branch, webcam_mode=False):
|
|
104 |
args = ["run", "--open-browser", "--ui-layouts", "webcam"]
|
105 |
else:
|
106 |
args = ["run"]
|
107 |
-
|
108 |
-
|
|
|
109 |
|
110 |
def get_localized_text(language, key):
|
111 |
texts = {
|
|
|
104 |
args = ["run", "--open-browser", "--ui-layouts", "webcam"]
|
105 |
else:
|
106 |
args = ["run"]
|
107 |
+
|
108 |
+
cmd = f'"{activate_script}" && "{python}" "{second_file}" {" ".join(args)}'
|
109 |
+
subprocess.run(cmd, shell=True, check=True)
|
110 |
|
111 |
def get_localized_text(language, key):
|
112 |
texts = {
|