ilya94prok commited on
Commit
997417f
1 Parent(s): d9af110

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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():