hysts HF staff commited on
Commit
3ed6fe2
1 Parent(s): 3c4344e
Files changed (1) hide show
  1. app_scribble_interactive.py +8 -4
app_scribble_interactive.py CHANGED
@@ -73,10 +73,14 @@ def create_demo(process):
73
  columns=2,
74
  object_fit='scale-down')
75
 
76
- create_button.click(fn=create_canvas,
77
- inputs=[canvas_width, canvas_height],
78
- outputs=image,
79
- queue=False)
 
 
 
 
80
  inputs = [
81
  image,
82
  prompt,
 
73
  columns=2,
74
  object_fit='scale-down')
75
 
76
+ create_button.click(
77
+ fn=create_canvas,
78
+ inputs=[canvas_width, canvas_height],
79
+ outputs=image,
80
+ queue=False,
81
+ api_name=False,
82
+ )
83
+
84
  inputs = [
85
  image,
86
  prompt,