Spaces:
Running
on
Zero
Running
on
Zero
Remove Upload human image preprocessing logic
Browse files- .gitignore +5 -0
- app.py +5 -5
.gitignore
CHANGED
|
@@ -8,6 +8,9 @@
|
|
| 8 |
# Model checkpoints
|
| 9 |
# ckpt/
|
| 10 |
|
|
|
|
|
|
|
|
|
|
| 11 |
# Example images
|
| 12 |
example/cloth/*.png
|
| 13 |
example/human/*.png
|
|
@@ -32,3 +35,5 @@ var/
|
|
| 32 |
*.egg-info/
|
| 33 |
.installed.cfg
|
| 34 |
*.egg
|
|
|
|
|
|
|
|
|
| 8 |
# Model checkpoints
|
| 9 |
# ckpt/
|
| 10 |
|
| 11 |
+
#MAC
|
| 12 |
+
*.DS_Store
|
| 13 |
+
|
| 14 |
# Example images
|
| 15 |
example/cloth/*.png
|
| 16 |
example/human/*.png
|
|
|
|
| 35 |
*.egg-info/
|
| 36 |
.installed.cfg
|
| 37 |
*.egg
|
| 38 |
+
*..DS_Store
|
| 39 |
+
|
app.py
CHANGED
|
@@ -511,11 +511,11 @@ with image_blocks as demo:
|
|
| 511 |
# is_checked = gr.Number(value=True)
|
| 512 |
|
| 513 |
# ์ด๋ฏธ์ง ์
๋ก๋ ์ ์ ์ฒ๋ฆฌ
|
| 514 |
-
imgs.upload(
|
| 515 |
-
|
| 516 |
-
|
| 517 |
-
|
| 518 |
-
)
|
| 519 |
|
| 520 |
|
| 521 |
# ๋์ ์ด๋ฏธ์ง: URL ์
๋ ฅ ์ฒ๋ฆฌ
|
|
|
|
| 511 |
# is_checked = gr.Number(value=True)
|
| 512 |
|
| 513 |
# ์ด๋ฏธ์ง ์
๋ก๋ ์ ์ ์ฒ๋ฆฌ
|
| 514 |
+
# imgs.upload(
|
| 515 |
+
# fn=preprocess_image,
|
| 516 |
+
# inputs=imgs,
|
| 517 |
+
# outputs=imgs, # ์ ์ฒ๋ฆฌ๋ ์ด๋ฏธ์ง๋ฅผ ImageEditor์ ๋ค์ ํ์
|
| 518 |
+
# )
|
| 519 |
|
| 520 |
|
| 521 |
# ๋์ ์ด๋ฏธ์ง: URL ์
๋ ฅ ์ฒ๋ฆฌ
|