Spaces:
Runtime error
Runtime error
Update
Browse files
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(
|
77 |
-
|
78 |
-
|
79 |
-
|
|
|
|
|
|
|
|
|
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,
|