angtrim commited on
Commit
c57b997
1 Parent(s): ad091e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, seed, 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(
 
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(