multimodalart HF staff commited on
Commit
edf408e
1 Parent(s): 374e672

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -41,9 +41,8 @@ for item in sdxl_loras:
41
  item["state_dict"] = state_dict #{k: v.to(device="cuda", dtype=torch.float16) for k, v in state_dict.items() if torch.is_tensor(v)}
42
 
43
  css = '''
44
- .gradio-container{max-width: 650px}
45
  #title{text-align:center;}
46
-
47
  #title h1{font-size: 250%}
48
  .selected_random img{object-fit: cover}
49
  .plus_column{align-self: center}
@@ -119,7 +118,7 @@ with gr.Blocks(css=css) as demo:
119
  with gr.Column(min_width=10, scale=4, elem_classes="random_column"):
120
  lora_2 = gr.Image(interactive=False, height=150, elem_classes="selected_random")
121
  lora_2_prompt = gr.Markdown(visible=False)
122
- with gr.Column(min_width=10, scale=1, elem_classes="plus_column"):
123
  equal = gr.HTML("=", elem_classes="plus_button")
124
  with gr.Column(min_width=10, scale=14):
125
  with gr.Box():
 
41
  item["state_dict"] = state_dict #{k: v.to(device="cuda", dtype=torch.float16) for k, v in state_dict.items() if torch.is_tensor(v)}
42
 
43
  css = '''
44
+ .gradio-container{max-width: 650px! important}
45
  #title{text-align:center;}
 
46
  #title h1{font-size: 250%}
47
  .selected_random img{object-fit: cover}
48
  .plus_column{align-self: center}
 
118
  with gr.Column(min_width=10, scale=4, elem_classes="random_column"):
119
  lora_2 = gr.Image(interactive=False, height=150, elem_classes="selected_random")
120
  lora_2_prompt = gr.Markdown(visible=False)
121
+ with gr.Column(min_width=10, scale=2, elem_classes="plus_column"):
122
  equal = gr.HTML("=", elem_classes="plus_button")
123
  with gr.Column(min_width=10, scale=14):
124
  with gr.Box():