Spaces:
Running
Running
Update app.py
#37
by
sejamenath2023
- opened
app.py
CHANGED
|
@@ -38,7 +38,7 @@ MODEL_MAP = {
|
|
| 38 |
def add_waterprint(img):
|
| 39 |
|
| 40 |
h, w, _ = img.shape
|
| 41 |
-
img = cv2.putText(img, 'Powered by
|
| 42 |
|
| 43 |
return img
|
| 44 |
|
|
@@ -88,20 +88,10 @@ with gr.Blocks(css = ".output-image, .input-image, .image-preview {height: 400px
|
|
| 88 |
# gr.Markdown("# Outfit Anyone v0.9")
|
| 89 |
gr.HTML(
|
| 90 |
"""
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
<h1 >Outfit Anyone: Ultra-high quality virtual try-on for Any Clothing and Any Person</h1>
|
| 96 |
-
<h4 >v0.9</h4>
|
| 97 |
-
<h5 style="margin: 0;">If you like our project, please give us a star on Github to stay updated with the latest developments.</h5>
|
| 98 |
-
<div style="display: flex; justify-content: center; align-items: center; text-align: center;>
|
| 99 |
-
<a href="https://github.com/HumanAIGC/OutfitAnyone"><img src="https://img.shields.io/badge/Arxiv-0000.00000-red"></a>
|
| 100 |
-
<a href='https://humanaigc.github.io/outfit-anyone/'><img src='https://img.shields.io/badge/Project_Page-OutfitAnyone-green' alt='Project Page'></a>
|
| 101 |
-
<a href='https://github.com/HumanAIGC/OutfitAnyone'><img src='https://img.shields.io/badge/Github-Repo-blue'></a>
|
| 102 |
-
</div>
|
| 103 |
-
</div>
|
| 104 |
-
</div>
|
| 105 |
""")
|
| 106 |
with gr.Row():
|
| 107 |
with gr.Column():
|
|
|
|
| 38 |
def add_waterprint(img):
|
| 39 |
|
| 40 |
h, w, _ = img.shape
|
| 41 |
+
img = cv2.putText(img, 'Powered by Outfit Ai lk', (int(0.3*w), h-20), cv2.FONT_HERSHEY_PLAIN, 2, (128, 128, 128), 2, cv2.LINE_AA)
|
| 42 |
|
| 43 |
return img
|
| 44 |
|
|
|
|
| 88 |
# gr.Markdown("# Outfit Anyone v0.9")
|
| 89 |
gr.HTML(
|
| 90 |
"""
|
| 91 |
+
|
| 92 |
+
<h1 >Outfit Ai Lk: Ultra-high quality virtual try-on for Any Clothing and Any Person</h1>
|
| 93 |
+
|
| 94 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
""")
|
| 96 |
with gr.Row():
|
| 97 |
with gr.Column():
|