Spaces:
Runtime error
Runtime error
anonymous
commited on
Commit
·
328dfe7
1
Parent(s):
385c778
disable cache
Browse files
app.py
CHANGED
|
@@ -169,7 +169,8 @@ with gr.Blocks(css=css) as demo:
|
|
| 169 |
examples=add_censor_examples,
|
| 170 |
fn=add_censorship,
|
| 171 |
inputs=[input_image, mode, pixelation_block_size, blur_kernel_size, soft_edges, soft_edge_kernel_size],
|
| 172 |
-
outputs=output_image
|
|
|
|
| 173 |
)
|
| 174 |
|
| 175 |
with gr.Tab('Remove censorship'):
|
|
@@ -203,7 +204,8 @@ with gr.Blocks(css=css) as demo:
|
|
| 203 |
examples=remove_censor_examples,
|
| 204 |
fn=remove_censorship,
|
| 205 |
inputs=[input_image, x1, y1, x2, y2],
|
| 206 |
-
outputs=output_image
|
|
|
|
| 207 |
)
|
| 208 |
|
| 209 |
# sync coordinate on changed
|
|
|
|
| 169 |
examples=add_censor_examples,
|
| 170 |
fn=add_censorship,
|
| 171 |
inputs=[input_image, mode, pixelation_block_size, blur_kernel_size, soft_edges, soft_edge_kernel_size],
|
| 172 |
+
outputs=output_image,
|
| 173 |
+
cache_examples=False,
|
| 174 |
)
|
| 175 |
|
| 176 |
with gr.Tab('Remove censorship'):
|
|
|
|
| 204 |
examples=remove_censor_examples,
|
| 205 |
fn=remove_censorship,
|
| 206 |
inputs=[input_image, x1, y1, x2, y2],
|
| 207 |
+
outputs=output_image,
|
| 208 |
+
cache_examples=False,
|
| 209 |
)
|
| 210 |
|
| 211 |
# sync coordinate on changed
|