Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -213,4 +213,22 @@ h1{
|
|
213 |
-webkit-text-stroke-width: 2px;
|
214 |
-webkit-text-stroke-color: pink;
|
215 |
}
|
216 |
-
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
213 |
-webkit-text-stroke-width: 2px;
|
214 |
-webkit-text-stroke-color: pink;
|
215 |
}
|
216 |
+
"""
|
217 |
+
|
218 |
+
import gradio as gr
|
219 |
+
|
220 |
+
iface = gr.Interface(
|
221 |
+
theme=gr.themes.Default(primary_hue="pink",font=[gr.themes.GoogleFont("Mochiy Pop One")]),
|
222 |
+
css=css,
|
223 |
+
fn=generate,
|
224 |
+
inputs=[gr.Image(label="VTuber Photo", type="pil"), gr.Textbox(label="VTuber Name")],
|
225 |
+
outputs=gr.Image(label="Generated Logo"),
|
226 |
+
title="Vtuber Logo Generator",
|
227 |
+
description="①Upload photo you wanna VTuberize❤️ <br>② Input the name⭐️ <br>③Press Generate🧙",
|
228 |
+
examples=[["hf-logo.png", "HuggingFace"],["Rust_programming_language_black_logo.svg.png","Rust"]],
|
229 |
+
|
230 |
+
allow_flagging=False
|
231 |
+
)
|
232 |
+
|
233 |
+
# Launch the interface
|
234 |
+
iface.launch(debug=True)
|