Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -175,8 +175,8 @@ def generate(logo, Vtubername):
|
|
| 175 |
|
| 176 |
center=((title_logo.width - caption.width) // 2,title_logo.height//2)
|
| 177 |
bottom=(title_logo.width-caption.width)//2,int(title_logo.height-caption.height-80)
|
| 178 |
-
lower_right=(title_logo.width-caption.width-40,int(title_logo.height-caption.height-
|
| 179 |
-
upper_right=(title_logo.width-caption.width,int(caption.height+
|
| 180 |
|
| 181 |
|
| 182 |
# Define the possible positions
|
|
@@ -221,7 +221,7 @@ iface = gr.Interface(
|
|
| 221 |
fn=generate,
|
| 222 |
inputs=[gr.Image(label="VTuber Photo", type="pil"), gr.Textbox(label="VTuber Name")],
|
| 223 |
outputs=gr.Image(label="Generated Logo"),
|
| 224 |
-
title="
|
| 225 |
description="①Upload photo you wanna VTuberize❤️ <br>② Input the name⭐️ <br>③Press Generate🧙",
|
| 226 |
examples=[["hf-logo.png", "HuggingFace"],["Rust_programming_language_black_logo.svg.png","Rust"]],
|
| 227 |
|
|
|
|
| 175 |
|
| 176 |
center=((title_logo.width - caption.width) // 2,title_logo.height//2)
|
| 177 |
bottom=(title_logo.width-caption.width)//2,int(title_logo.height-caption.height-80)
|
| 178 |
+
lower_right=(title_logo.width-caption.width-40,int(title_logo.height-caption.height-60))
|
| 179 |
+
upper_right=(title_logo.width-caption.width+60,int(caption.height+60))
|
| 180 |
|
| 181 |
|
| 182 |
# Define the possible positions
|
|
|
|
| 221 |
fn=generate,
|
| 222 |
inputs=[gr.Image(label="VTuber Photo", type="pil"), gr.Textbox(label="VTuber Name")],
|
| 223 |
outputs=gr.Image(label="Generated Logo"),
|
| 224 |
+
title="VTuber Logo Generator",
|
| 225 |
description="①Upload photo you wanna VTuberize❤️ <br>② Input the name⭐️ <br>③Press Generate🧙",
|
| 226 |
examples=[["hf-logo.png", "HuggingFace"],["Rust_programming_language_black_logo.svg.png","Rust"]],
|
| 227 |
|