fffiloni commited on
Commit
f14c233
·
verified ·
1 Parent(s): 3bf3ae0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -143,7 +143,7 @@ css = """
143
  div#warning-duplicate {
144
  background-color: #ebf5ff;
145
  padding: 0 16px 16px;
146
- margin: 20px 0;
147
  color: #030303!important;
148
  }
149
  div#warning-duplicate > .gr-prose > h2, div#warning-duplicate > .gr-prose > p {
@@ -164,7 +164,7 @@ div#warning-duplicate .actions a {
164
  div#warning-setgpu {
165
  background-color: #fff4eb;
166
  padding: 0 16px 16px;
167
- margin: 20px 0;
168
  color: #030303!important;
169
  }
170
  div#warning-setgpu > .gr-prose > h2, div#warning-setgpu > .gr-prose > p {
@@ -186,7 +186,7 @@ div#warning-setgpu p.actions > a {
186
  div#warning-ready {
187
  background-color: #ecfdf5;
188
  padding: 0 16px 16px;
189
- margin: 20px 0;
190
  color: #030303!important;
191
  }
192
  div#warning-ready > .gr-prose > h2, div#warning-ready > .gr-prose > p {
@@ -222,7 +222,7 @@ with gr.Blocks(css=css, analytics_enabled=False) as demo:
222
  </div>
223
  """)
224
  with gr.Row():
225
- with gr.Column():
226
 
227
  if is_shared_ui:
228
  top_description = gr.HTML(f'''
@@ -269,7 +269,8 @@ with gr.Blocks(css=css, analytics_enabled=False) as demo:
269
  prompt = gr.Textbox(label="Prompt")
270
  orbit_type = gr.Radio(label="Orbit type", choices=["Left", "Up"], value="Left", interactive=True)
271
  submit_btn = gr.Button("Submit", interactive=False if is_shared_ui else True)
272
- with gr.Column():
 
273
  video_out = gr.Video(label="Video output")
274
  examples = gr.Examples(
275
  examples = [
 
143
  div#warning-duplicate {
144
  background-color: #ebf5ff;
145
  padding: 0 16px 16px;
146
+ margin: 0px 0;
147
  color: #030303!important;
148
  }
149
  div#warning-duplicate > .gr-prose > h2, div#warning-duplicate > .gr-prose > p {
 
164
  div#warning-setgpu {
165
  background-color: #fff4eb;
166
  padding: 0 16px 16px;
167
+ margin: 0px 0;
168
  color: #030303!important;
169
  }
170
  div#warning-setgpu > .gr-prose > h2, div#warning-setgpu > .gr-prose > p {
 
186
  div#warning-ready {
187
  background-color: #ecfdf5;
188
  padding: 0 16px 16px;
189
+ margin: 0px 0;
190
  color: #030303!important;
191
  }
192
  div#warning-ready > .gr-prose > h2, div#warning-ready > .gr-prose > p {
 
222
  </div>
223
  """)
224
  with gr.Row():
225
+ with gr.Column(scale=1):
226
 
227
  if is_shared_ui:
228
  top_description = gr.HTML(f'''
 
269
  prompt = gr.Textbox(label="Prompt")
270
  orbit_type = gr.Radio(label="Orbit type", choices=["Left", "Up"], value="Left", interactive=True)
271
  submit_btn = gr.Button("Submit", interactive=False if is_shared_ui else True)
272
+
273
+ with gr.Column(scale=2):
274
  video_out = gr.Video(label="Video output")
275
  examples = gr.Examples(
276
  examples = [