mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
This reverts commit df34b640a8.
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
root = os.path.dirname(os.path.abspath(__file__))
|
||||
sys.path.append(root)
|
||||
os.chdir(root)
|
||||
backend_path = os.path.join(root, 'backend', 'comfy_core')
|
||||
if backend_path not in sys.path:
|
||||
sys.path.append(backend_path)
|
||||
os.environ["PYTORCH_ENABLE_MPS_FALLBACK"] = "1"
|
||||
Reference in New Issue
Block a user