Spaces:
Runtime error
Runtime error
zwl
commited on
Commit
·
10d91ff
1
Parent(s):
9103864
fix bug
Browse files
app.py
CHANGED
@@ -245,7 +245,7 @@ with gr.Blocks(css=css) as demo:
|
|
245 |
|
246 |
# model_name.change(lambda x: gr.update(visible = x == models[0].name), inputs=model_name, outputs=custom_model_group)
|
247 |
|
248 |
-
inputs = [model_name, prompt, guidance, steps, width, height, seed, image, strength
|
249 |
prompt.submit(inference, inputs=inputs, outputs=image_out)
|
250 |
|
251 |
generate.click(inference, inputs=inputs, outputs=image_out)
|
|
|
245 |
|
246 |
# model_name.change(lambda x: gr.update(visible = x == models[0].name), inputs=model_name, outputs=custom_model_group)
|
247 |
|
248 |
+
inputs = [model_name, prompt, guidance, steps, width, height, seed, image, strength]
|
249 |
prompt.submit(inference, inputs=inputs, outputs=image_out)
|
250 |
|
251 |
generate.click(inference, inputs=inputs, outputs=image_out)
|