Spaces:
Runtime error
Runtime error
Update css footer
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import torch
|
|
4 |
import numpy as np
|
5 |
from torchvision import transforms
|
6 |
|
7 |
-
description = "
|
8 |
|
9 |
|
10 |
def make_transparent_foreground(pic, mask):
|
@@ -69,5 +69,6 @@ gr.Interface(
|
|
69 |
gr.Image(type="pil", label="Input"),
|
70 |
gr.Image(type="pil", label="Output"),
|
71 |
description=description,
|
72 |
-
examples=[['demis.jpg'], ['lifeifei.png']]
|
|
|
73 |
).launch(debug=False)
|
|
|
4 |
import numpy as np
|
5 |
from torchvision import transforms
|
6 |
|
7 |
+
description = "Automatically remove the image background from a profile photo"
|
8 |
|
9 |
|
10 |
def make_transparent_foreground(pic, mask):
|
|
|
69 |
gr.Image(type="pil", label="Input"),
|
70 |
gr.Image(type="pil", label="Output"),
|
71 |
description=description,
|
72 |
+
examples=[['demis.jpg'], ['lifeifei.png']],
|
73 |
+
css=".footer{display: none;}"
|
74 |
).launch(debug=False)
|