Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
f7bc5db
1
Parent(s):
dcab473
improve
Browse files
__pycache__/app.cpython-310.pyc
DELETED
|
Binary file (6.48 kB)
|
|
|
__pycache__/gallery_history.cpython-310.pyc
DELETED
|
Binary file (4.43 kB)
|
|
|
__pycache__/illusion_style.cpython-310.pyc
DELETED
|
Binary file (985 Bytes)
|
|
|
__pycache__/share_btn.cpython-310.pyc
DELETED
|
Binary file (6.95 kB)
|
|
|
app.py
CHANGED
|
@@ -115,7 +115,7 @@ def inference(
|
|
| 115 |
|
| 116 |
main_pipe.scheduler = SAMPLER_MAP[sampler](main_pipe.scheduler.config)
|
| 117 |
my_seed = random.randint(0, 2**32 - 1) if seed == -1 else seed
|
| 118 |
-
generator = torch.Generator(device="cuda").manual_seed(
|
| 119 |
|
| 120 |
out = main_pipe(
|
| 121 |
prompt=prompt,
|
|
|
|
| 115 |
|
| 116 |
main_pipe.scheduler = SAMPLER_MAP[sampler](main_pipe.scheduler.config)
|
| 117 |
my_seed = random.randint(0, 2**32 - 1) if seed == -1 else seed
|
| 118 |
+
generator = torch.Generator(device="cuda").manual_seed(my_seed)
|
| 119 |
|
| 120 |
out = main_pipe(
|
| 121 |
prompt=prompt,
|