fffiloni commited on
Commit
f06bd9d
1 Parent(s): 60b2459

css changes

Browse files
Files changed (1) hide show
  1. app.py +9 -2
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
- with gr.Blocks() as demo:
85
- with gr. Column():
 
 
 
 
 
 
 
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
  """