Spaces:
Running
on
Zero
Running
on
Zero
takarajordan
commited on
Commit
•
d7ede14
1
Parent(s):
8848584
fixed seeds
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ def infer(
|
|
66 |
prompt: str,
|
67 |
aspect_ratio: str,
|
68 |
width: int,
|
69 |
-
seed:
|
70 |
randomize_seed: bool = False,
|
71 |
num_inference_steps: int = 4,
|
72 |
progress: Any = gr.Progress(track_tqdm=True)
|
|
|
66 |
prompt: str,
|
67 |
aspect_ratio: str,
|
68 |
width: int,
|
69 |
+
seed: Any = 42, # Change type hint to Any to handle both string and int inputs
|
70 |
randomize_seed: bool = False,
|
71 |
num_inference_steps: int = 4,
|
72 |
progress: Any = gr.Progress(track_tqdm=True)
|