Spaces:
Running
on
Zero
Running
on
Zero
css changes
Browse files
app.py
CHANGED
@@ -81,8 +81,15 @@ def run(ref_path, ref_style, ref_prompt, prompt1, prompt2, prompt3):
|
|
81 |
|
82 |
return images_a
|
83 |
|
84 |
-
|
85 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
gr.HTML("""
|
87 |
<h2 style="text-align: center;">Google's StyleAligned Transfer</h2>
|
88 |
"""
|
|
|
81 |
|
82 |
return images_a
|
83 |
|
84 |
+
css = """
|
85 |
+
#col-container{
|
86 |
+
margin: 0 auto;
|
87 |
+
max-width: 720px;
|
88 |
+
}
|
89 |
+
"""
|
90 |
+
|
91 |
+
with gr.Blocks(css=css) as demo:
|
92 |
+
with gr. Column(elem_id="col-container"):
|
93 |
gr.HTML("""
|
94 |
<h2 style="text-align: center;">Google's StyleAligned Transfer</h2>
|
95 |
"""
|