Spaces:
Sleeping
Sleeping
debug: 添加 inference 调试
Browse files
app.py
CHANGED
@@ -296,9 +296,11 @@ class Demo:
|
|
296 |
|
297 |
def inference(self, prompt, start_noise, model, pbar=gr.Progress(track_tqdm=True)):
|
298 |
model_sections = self.model_sections
|
|
|
299 |
model_names = [section[0].value for section in model_sections if section[0].value]
|
300 |
seed_list = [section[1].value for section in model_sections if section[0].value]
|
301 |
scale_list = [section[2].value for section in model_sections if section[0].value]
|
|
|
302 |
|
303 |
if self.current_model != model:
|
304 |
if model=='SDXL Turbo':
|
|
|
296 |
|
297 |
def inference(self, prompt, start_noise, model, pbar=gr.Progress(track_tqdm=True)):
|
298 |
model_sections = self.model_sections
|
299 |
+
print(111, model_sections)
|
300 |
model_names = [section[0].value for section in model_sections if section[0].value]
|
301 |
seed_list = [section[1].value for section in model_sections if section[0].value]
|
302 |
scale_list = [section[2].value for section in model_sections if section[0].value]
|
303 |
+
print(model_names, seed_list, scale_list)
|
304 |
|
305 |
if self.current_model != model:
|
306 |
if model=='SDXL Turbo':
|