fffiloni commited on
Commit
d7cca30
1 Parent(s): 30d1a05

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -3
app.py CHANGED
@@ -81,10 +81,23 @@ def infer(image_in, camera_shot, conditional_pose, prompt, chosen_model):
81
 
82
  return video_res
83
 
84
- with gr.Blocks as demo:
85
- with gr.Column():
 
 
 
 
 
 
 
 
86
  gr.HTML("""
87
-
 
 
 
 
 
88
  """)
89
  with gr.Row():
90
  with gr.Column():
 
81
 
82
  return video_res
83
 
84
+
85
+ css = """
86
+ #col-container{
87
+ margin: 0 auto;
88
+ max-width: 1080px;
89
+ }
90
+ """
91
+
92
+ with gr.Blocks(css=css) as demo:
93
+ with gr.Column(elem_id="col-container"):
94
  gr.HTML("""
95
+ <h2 style="text-align: center;">
96
+ InstanID-2V
97
+ </h2>
98
+ <p style="text-align: center;">
99
+ Generate live camera shot from input face
100
+ </p>
101
  """)
102
  with gr.Row():
103
  with gr.Column():