Spaces:
Sleeping
Sleeping
Add author credits
Browse files
app.py
CHANGED
|
@@ -421,9 +421,9 @@ if __name__ == "__main__":
|
|
| 421 |
|
| 422 |
with gr.Blocks(title="DeepMosaics") as demo:
|
| 423 |
with gr.Column(elem_classes="compact"):
|
| 424 |
-
gr.Markdown("## DeepMosaics")
|
| 425 |
|
| 426 |
-
target = gr.Radio(["Face", "Body/
|
| 427 |
|
| 428 |
with gr.Row():
|
| 429 |
# Input with preview
|
|
@@ -455,7 +455,7 @@ if __name__ == "__main__":
|
|
| 455 |
examples=[
|
| 456 |
["examples/mosaic.jpg", "Face"],
|
| 457 |
["examples/face_clean.jpg", "Face"],
|
| 458 |
-
["examples/youknow_mosaic.png", "Body/
|
| 459 |
],
|
| 460 |
inputs=[input_file, target],
|
| 461 |
outputs=output_img,
|
|
|
|
| 421 |
|
| 422 |
with gr.Blocks(title="DeepMosaics") as demo:
|
| 423 |
with gr.Column(elem_classes="compact"):
|
| 424 |
+
gr.Markdown("## [DeepMosaics](https://github.com/HypoX64/DeepMosaics)")
|
| 425 |
|
| 426 |
+
target = gr.Radio(["Face", "Body/NSFW"], value="Face", label="Target", scale=0)
|
| 427 |
|
| 428 |
with gr.Row():
|
| 429 |
# Input with preview
|
|
|
|
| 455 |
examples=[
|
| 456 |
["examples/mosaic.jpg", "Face"],
|
| 457 |
["examples/face_clean.jpg", "Face"],
|
| 458 |
+
["examples/youknow_mosaic.png", "Body/NSFW"],
|
| 459 |
],
|
| 460 |
inputs=[input_file, target],
|
| 461 |
outputs=output_img,
|