Spaces:
Sleeping
Sleeping
Commit
•
997417f
1
Parent(s):
d9af110
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def generate_image(prompt_text):
|
|
50 |
|
51 |
|
52 |
def run_main_script(exit_event):
|
53 |
-
process = subprocess.Popen([sys.executable, COMF_PATH])
|
54 |
logger.info(f"Скрипт main.py запущен в отдельном процессе с PID: {process.pid}")
|
55 |
|
56 |
while not exit_event.is_set():
|
|
|
50 |
|
51 |
|
52 |
def run_main_script(exit_event):
|
53 |
+
process = subprocess.Popen([sys.executable, COMF_PATH, "--cpu"])
|
54 |
logger.info(f"Скрипт main.py запущен в отдельном процессе с PID: {process.pid}")
|
55 |
|
56 |
while not exit_event.is_set():
|