Spaces:
Runtime error
Runtime error
RohitGandikota
commited on
Commit
β’
15277c3
1
Parent(s):
e7fd4ee
Update app.py
Browse files
app.py
CHANGED
@@ -125,7 +125,7 @@ class Demo:
|
|
125 |
|
126 |
self.seed_infr = gr.Number(
|
127 |
label="Seed",
|
128 |
-
value=
|
129 |
)
|
130 |
|
131 |
self.slider_scale_infr = gr.Slider(
|
@@ -307,7 +307,7 @@ class Demo:
|
|
307 |
|
308 |
def inference(self, prompt, seed, start_noise, scale, model_name, model, pbar = gr.Progress(track_tqdm=True)):
|
309 |
|
310 |
-
seed = seed or
|
311 |
if self.current_model != model:
|
312 |
if model=='SDXL Turbo':
|
313 |
model_id = "stabilityai/sdxl-turbo"
|
|
|
125 |
|
126 |
self.seed_infr = gr.Number(
|
127 |
label="Seed",
|
128 |
+
value=42753
|
129 |
)
|
130 |
|
131 |
self.slider_scale_infr = gr.Slider(
|
|
|
307 |
|
308 |
def inference(self, prompt, seed, start_noise, scale, model_name, model, pbar = gr.Progress(track_tqdm=True)):
|
309 |
|
310 |
+
seed = seed or 42753
|
311 |
if self.current_model != model:
|
312 |
if model=='SDXL Turbo':
|
313 |
model_id = "stabilityai/sdxl-turbo"
|