mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
update directml
This commit is contained in:
+1
-1
@@ -121,7 +121,7 @@ def sampler(params, options): # find sampler
|
||||
|
||||
|
||||
async def generate(prompt = None, options = None, quiet = False): # pylint: disable=redefined-outer-name
|
||||
global sd
|
||||
global sd # pylint: disable=global-statement
|
||||
if options:
|
||||
sd = Map(options)
|
||||
if prompt is not None:
|
||||
|
||||
Reference in New Issue
Block a user