Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,8 @@ def process():
|
|
54 |
python_script = "entry_with_update.py"
|
55 |
|
56 |
# Argument yang ingin Anda tambahkan
|
57 |
-
additional_arguments = ["--in-browser", "--all-in-fp32", "--directml", "--debug-mode", "--attention-split", "--multi-user", "--always-cpu", "--is-windows-embedded-python"]
|
|
|
58 |
|
59 |
# Gabungkan semua argumen
|
60 |
PIP = ["pip", " install", "-r", "requirements.txt"]
|
@@ -72,4 +73,4 @@ Running..
|
|
72 |
""")
|
73 |
# subprocess.run([batch_file_path], shell=True)
|
74 |
|
75 |
-
|
|
|
54 |
python_script = "entry_with_update.py"
|
55 |
|
56 |
# Argument yang ingin Anda tambahkan
|
57 |
+
# additional_arguments = ["--in-browser", "--all-in-fp32", "--directml", "--debug-mode", "--attention-split", "--multi-user", "--always-cpu", "--is-windows-embedded-python"]
|
58 |
+
additional_arguments = ["--always-cpu"]
|
59 |
|
60 |
# Gabungkan semua argumen
|
61 |
PIP = ["pip", " install", "-r", "requirements.txt"]
|
|
|
73 |
""")
|
74 |
# subprocess.run([batch_file_path], shell=True)
|
75 |
|
76 |
+
process()
|