Spaces:
Paused
Paused
update desc
Browse files
app.py
CHANGED
@@ -36,6 +36,23 @@ def set_visible_False():
|
|
36 |
|
37 |
#Gradio Blocks API
|
38 |
with gr.Blocks() as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
with gr.Row():
|
40 |
image_in = gr.Image(type="pil", label="Upload the image of a cat or a dog you want to translate")
|
41 |
with gr.Column():
|
|
|
36 |
|
37 |
#Gradio Blocks API
|
38 |
with gr.Blocks() as demo:
|
39 |
+
gr.HTML("""<div style="text-align: center; max-width: 700px; margin: 0 auto;">
|
40 |
+
<div
|
41 |
+
style="
|
42 |
+
display: inline-flex;
|
43 |
+
align-items: center;
|
44 |
+
gap: 0.8rem;
|
45 |
+
font-size: 1.75rem;
|
46 |
+
"
|
47 |
+
>
|
48 |
+
<h1 style="font-weight: 900; margin-bottom: 7px; margin-top: 5px;">
|
49 |
+
Pix2Pix - Zero-shot Image-to-Image Translation
|
50 |
+
</h1>
|
51 |
+
</div>
|
52 |
+
<p style="margin-bottom: 10px; font-size: 94%">
|
53 |
+
This is an unofficial demo for <a href="https://pix2pixzero.github.io/" target="_blank">Pix2PixZero</a>.
|
54 |
+
Please visit their website and <a href="https://github.com/pix2pixzero/pix2pix-zero" target="_blank">github repo</a> for more details.
|
55 |
+
</p></div>""")
|
56 |
with gr.Row():
|
57 |
image_in = gr.Image(type="pil", label="Upload the image of a cat or a dog you want to translate")
|
58 |
with gr.Column():
|