Spaces:
Runtime error
Runtime error
Gemma-sciling
commited on
Commit
•
60f4adf
1
Parent(s):
44bc46f
Upload app.py
Browse filesAdded sciling image
app.py
CHANGED
@@ -66,19 +66,19 @@ def blur(image, face_blur, plate_blur):
|
|
66 |
|
67 |
return image
|
68 |
|
69 |
-
|
70 |
-
gr.Interface(
|
71 |
fn=blur,
|
72 |
inputs=[
|
73 |
gr.Image(source="upload", type="numpy", optional=False),
|
74 |
-
gr.Slider(minimum=0, maximum=30, step=1, value=
|
75 |
-
gr.Slider(minimum=0, maximum=30, step=1, value=
|
76 |
],
|
77 |
outputs="image",
|
78 |
-
title="Plate Licenses and Faces Blur",
|
79 |
enable_queue=False,
|
80 |
sidebar="<img src='images/22.png' width='100%'/>",
|
81 |
description="This app uses image processing techniques to automatically blur out license plates and faces in photos. Protect the privacy of individuals and comply with regulations by obscuring sensitive information in your images with ease.",
|
82 |
examples=[["images/22.png", 5, 5], ["images/18.jpg", 5, 5]],
|
83 |
-
css=".gradio-container {margin-top:80px !important;}"
|
84 |
).launch()
|
|
|
66 |
|
67 |
return image
|
68 |
|
69 |
+
sciling = "<div style='display: flex; justify-content: center; align-items: center;margin-bottom:30px'> <a href='https://sciling.com' target='_blank' style='display: flex; justify-content: center; align-items: center;'><img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZ8AAABECAYAAABebDjMAAAACXBIWXMAAAsTAAALEwEAmpwYAAAF92lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNi4wLWMwMDIgNzkuMTY0NDg4LCAyMDIwLzA3LzEwLTIyOjA2OjUzICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkv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8XhQiovSH4+C/h+f7VHeVKEr/8UuiP4c5WgumRNWA2cLSxqssCZin0p4C7CbeVWHUAuhkYlWFo7Y0wYcUNxXCc0Oy+wPopUywuIC3CZeRuyn8+78sAg7sx+AkuA3cgsHOH12C6Tvlv+eCTugdurJqF0yvaBJeyvA8u02Mg0L/E2kuBf+JkNB4G7jFWPVbCXi68cODlUugrcVl+w3BnCVsBm1DuaW8BTrD1aWA6cKcv5o1kwG81/IzG3Wy7NVLoU3B1IGvUsNx2wEwp9DnGqss7+bEXrsA85BlWf+AeKfQwY1WewsysjMFlo25Qge3S+A7LtwG3eRX7j+ESFLbBpWhvhfN9LVzJifB/vo0LRPfgjjweB+7v/GSEu678jQ7qLV6jsj0QtQellk9i+n8VnXpqYZaMagAAAABJRU5ErkJggg==' alt='Descripción de la imagen' style='display: block; margin: 0 auto; max-width: 100%; height: auto;'></a></div>"
|
70 |
+
interface = gr.Interface(
|
71 |
fn=blur,
|
72 |
inputs=[
|
73 |
gr.Image(source="upload", type="numpy", optional=False),
|
74 |
+
gr.Slider(minimum=0, maximum=30, step=1, value=5, label="Face Blur Intensity"),
|
75 |
+
gr.Slider(minimum=0, maximum=30, step=1, value=5, label="Plate Blur Intensity"),
|
76 |
],
|
77 |
outputs="image",
|
78 |
+
title= sciling + "Plate Licenses and Faces Blur",
|
79 |
enable_queue=False,
|
80 |
sidebar="<img src='images/22.png' width='100%'/>",
|
81 |
description="This app uses image processing techniques to automatically blur out license plates and faces in photos. Protect the privacy of individuals and comply with regulations by obscuring sensitive information in your images with ease.",
|
82 |
examples=[["images/22.png", 5, 5], ["images/18.jpg", 5, 5]],
|
83 |
+
css=".gradio-container {margin-top:80px !important;};.g-window {background-image: url('logo.png'); background-size: cover;}",
|
84 |
).launch()
|