Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -256,7 +256,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
256 |
line.change(fn=lambda x: gr.update(value=not x), inputs=[line], outputs=[eraser]).then(update_canvas, [line, eraser], [image])
|
257 |
|
258 |
demo.load(None,None,None,_js=scripts)
|
259 |
-
inputs = [image, prompt, prompt_temp, style,
|
260 |
outputs = [result, download_sketch, download_output]
|
261 |
prompt.submit(fn=run, inputs=inputs, outputs=outputs)
|
262 |
style.change(lambda x: styles[x], inputs=[style], outputs=[prompt_temp]).then(
|
|
|
256 |
line.change(fn=lambda x: gr.update(value=not x), inputs=[line], outputs=[eraser]).then(update_canvas, [line, eraser], [image])
|
257 |
|
258 |
demo.load(None,None,None,_js=scripts)
|
259 |
+
inputs = [image, prompt, prompt_temp, style, val_r]
|
260 |
outputs = [result, download_sketch, download_output]
|
261 |
prompt.submit(fn=run, inputs=inputs, outputs=outputs)
|
262 |
style.change(lambda x: styles[x], inputs=[style], outputs=[prompt_temp]).then(
|