mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-08 22:35:09 +00:00
small fix
This commit is contained in:
@@ -2,7 +2,5 @@ import threading
|
||||
from typing import *
|
||||
|
||||
|
||||
def fire_in_thread(f):
|
||||
def wrapped(*args, **kwargs):
|
||||
threading.Thread(target=f, args=args, kwargs=kwargs).start()
|
||||
return wrapped
|
||||
def fire_in_thread(f, *args, **kwargs):
|
||||
threading.Thread(target=f, args=args, kwargs=kwargs).start()
|
||||
Reference in New Issue
Block a user