Spaces:
Running
Running
Update
Browse files- app_canny.py +1 -0
- app_depth.py +1 -0
- app_fake_scribble.py +1 -0
- app_hed.py +1 -0
- app_hough.py +1 -0
- app_normal.py +1 -0
- app_pose.py +1 -0
- app_scribble.py +1 -0
- app_scribble_interactive.py +1 -0
- app_seg.py +1 -0
app_canny.py
CHANGED
|
@@ -76,6 +76,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
| 76 |
canny_low_threshold,
|
| 77 |
canny_high_threshold,
|
| 78 |
]
|
|
|
|
| 79 |
run_button.click(fn=process,
|
| 80 |
inputs=inputs,
|
| 81 |
outputs=result,
|
|
|
|
| 76 |
canny_low_threshold,
|
| 77 |
canny_high_threshold,
|
| 78 |
]
|
| 79 |
+
prompt.submit(fn=process, inputs=inputs, outputs=result)
|
| 80 |
run_button.click(fn=process,
|
| 81 |
inputs=inputs,
|
| 82 |
outputs=result,
|
app_depth.py
CHANGED
|
@@ -68,6 +68,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
| 68 |
guidance_scale,
|
| 69 |
seed,
|
| 70 |
]
|
|
|
|
| 71 |
run_button.click(fn=process,
|
| 72 |
inputs=inputs,
|
| 73 |
outputs=result,
|
|
|
|
| 68 |
guidance_scale,
|
| 69 |
seed,
|
| 70 |
]
|
| 71 |
+
prompt.submit(fn=process, inputs=inputs, outputs=result)
|
| 72 |
run_button.click(fn=process,
|
| 73 |
inputs=inputs,
|
| 74 |
outputs=result,
|
app_fake_scribble.py
CHANGED
|
@@ -68,6 +68,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
| 68 |
guidance_scale,
|
| 69 |
seed,
|
| 70 |
]
|
|
|
|
| 71 |
run_button.click(fn=process,
|
| 72 |
inputs=inputs,
|
| 73 |
outputs=result,
|
|
|
|
| 68 |
guidance_scale,
|
| 69 |
seed,
|
| 70 |
]
|
| 71 |
+
prompt.submit(fn=process, inputs=inputs, outputs=result)
|
| 72 |
run_button.click(fn=process,
|
| 73 |
inputs=inputs,
|
| 74 |
outputs=result,
|
app_hed.py
CHANGED
|
@@ -68,6 +68,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
| 68 |
guidance_scale,
|
| 69 |
seed,
|
| 70 |
]
|
|
|
|
| 71 |
run_button.click(fn=process,
|
| 72 |
inputs=inputs,
|
| 73 |
outputs=result,
|
|
|
|
| 68 |
guidance_scale,
|
| 69 |
seed,
|
| 70 |
]
|
| 71 |
+
prompt.submit(fn=process, inputs=inputs, outputs=result)
|
| 72 |
run_button.click(fn=process,
|
| 73 |
inputs=inputs,
|
| 74 |
outputs=result,
|
app_hough.py
CHANGED
|
@@ -82,6 +82,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
| 82 |
mlsd_value_threshold,
|
| 83 |
mlsd_distance_threshold,
|
| 84 |
]
|
|
|
|
| 85 |
run_button.click(fn=process,
|
| 86 |
inputs=inputs,
|
| 87 |
outputs=result,
|
|
|
|
| 82 |
mlsd_value_threshold,
|
| 83 |
mlsd_distance_threshold,
|
| 84 |
]
|
| 85 |
+
prompt.submit(fn=process, inputs=inputs, outputs=result)
|
| 86 |
run_button.click(fn=process,
|
| 87 |
inputs=inputs,
|
| 88 |
outputs=result,
|
app_normal.py
CHANGED
|
@@ -75,6 +75,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
| 75 |
seed,
|
| 76 |
bg_threshold,
|
| 77 |
]
|
|
|
|
| 78 |
run_button.click(fn=process,
|
| 79 |
inputs=inputs,
|
| 80 |
outputs=result,
|
|
|
|
| 75 |
seed,
|
| 76 |
bg_threshold,
|
| 77 |
]
|
| 78 |
+
prompt.submit(fn=process, inputs=inputs, outputs=result)
|
| 79 |
run_button.click(fn=process,
|
| 80 |
inputs=inputs,
|
| 81 |
outputs=result,
|
app_pose.py
CHANGED
|
@@ -68,6 +68,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
| 68 |
guidance_scale,
|
| 69 |
seed,
|
| 70 |
]
|
|
|
|
| 71 |
run_button.click(fn=process,
|
| 72 |
inputs=inputs,
|
| 73 |
outputs=result,
|
|
|
|
| 68 |
guidance_scale,
|
| 69 |
seed,
|
| 70 |
]
|
| 71 |
+
prompt.submit(fn=process, inputs=inputs, outputs=result)
|
| 72 |
run_button.click(fn=process,
|
| 73 |
inputs=inputs,
|
| 74 |
outputs=result,
|
app_scribble.py
CHANGED
|
@@ -62,6 +62,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
| 62 |
guidance_scale,
|
| 63 |
seed,
|
| 64 |
]
|
|
|
|
| 65 |
run_button.click(fn=process,
|
| 66 |
inputs=inputs,
|
| 67 |
outputs=result,
|
|
|
|
| 62 |
guidance_scale,
|
| 63 |
seed,
|
| 64 |
]
|
| 65 |
+
prompt.submit(fn=process, inputs=inputs, outputs=result)
|
| 66 |
run_button.click(fn=process,
|
| 67 |
inputs=inputs,
|
| 68 |
outputs=result,
|
app_scribble_interactive.py
CHANGED
|
@@ -91,6 +91,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
| 91 |
guidance_scale,
|
| 92 |
seed,
|
| 93 |
]
|
|
|
|
| 94 |
run_button.click(fn=process, inputs=inputs, outputs=result)
|
| 95 |
return demo
|
| 96 |
|
|
|
|
| 91 |
guidance_scale,
|
| 92 |
seed,
|
| 93 |
]
|
| 94 |
+
prompt.submit(fn=process, inputs=inputs, outputs=result)
|
| 95 |
run_button.click(fn=process, inputs=inputs, outputs=result)
|
| 96 |
return demo
|
| 97 |
|
app_seg.py
CHANGED
|
@@ -69,6 +69,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
| 69 |
guidance_scale,
|
| 70 |
seed,
|
| 71 |
]
|
|
|
|
| 72 |
run_button.click(fn=process,
|
| 73 |
inputs=inputs,
|
| 74 |
outputs=result,
|
|
|
|
| 69 |
guidance_scale,
|
| 70 |
seed,
|
| 71 |
]
|
| 72 |
+
prompt.submit(fn=process, inputs=inputs, outputs=result)
|
| 73 |
run_button.click(fn=process,
|
| 74 |
inputs=inputs,
|
| 75 |
outputs=result,
|