Spaces:
Running
Running
Josh Brown Kramer commited on
Commit ·
1decf0a
1
Parent(s): 36c1e20
Remove debugging
Browse files- app.py +2 -2
- faceparsing.py +0 -2
app.py
CHANGED
|
@@ -71,5 +71,5 @@ demo = gr.Interface(
|
|
| 71 |
article=article,
|
| 72 |
)
|
| 73 |
|
| 74 |
-
|
| 75 |
-
demo.launch(debug=True)
|
|
|
|
| 71 |
article=article,
|
| 72 |
)
|
| 73 |
|
| 74 |
+
demo.launch()
|
| 75 |
+
#demo.launch(debug=True)
|
faceparsing.py
CHANGED
|
@@ -56,7 +56,5 @@ def get_face_mask(image):
|
|
| 56 |
colors_rgb = colors[:, :, :3] # Remove alpha channel
|
| 57 |
colors_pil = Image.fromarray((colors_rgb * 255).astype(np.uint8))
|
| 58 |
|
| 59 |
-
|
| 60 |
return colors_pil
|
| 61 |
|
| 62 |
-
|
|
|
|
| 56 |
colors_rgb = colors[:, :, :3] # Remove alpha channel
|
| 57 |
colors_pil = Image.fromarray((colors_rgb * 255).astype(np.uint8))
|
| 58 |
|
|
|
|
| 59 |
return colors_pil
|
| 60 |
|
|
|