mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
fix: resolve circular import, patch_all now in async_worker
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
import threading
|
import threading
|
||||||
import os
|
import os
|
||||||
from modules.patch import PatchSettings, patch_settings
|
from modules.patch import PatchSettings, patch_settings, patch_all
|
||||||
|
|
||||||
|
patch_all()
|
||||||
|
|
||||||
|
|
||||||
class AsyncTask:
|
class AsyncTask:
|
||||||
def __init__(self, args):
|
def __init__(self, args):
|
||||||
|
|||||||
@@ -1,8 +1,3 @@
|
|||||||
from modules.patch import patch_all
|
|
||||||
|
|
||||||
patch_all()
|
|
||||||
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import einops
|
import einops
|
||||||
import torch
|
import torch
|
||||||
|
|||||||
Reference in New Issue
Block a user