Spaces:
Running on CPU Upgrade

multimodalart HF staff commited on
Commit
0f845ae
1 Parent(s): 73b5d03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -137,6 +137,14 @@ css = """
137
  #prompt-container{
138
  gap: 0;
139
  }
 
 
 
 
 
 
 
 
140
  #prompt-text-input, #negative-prompt-text-input{padding: .45rem 0.625rem}
141
  #component-16{border-top-width: 1px!important;margin-top: 1em}
142
  .image_duplication{position: absolute; width: 100px; left: 50px}
@@ -240,7 +248,7 @@ with block:
240
  placeholder="Enter your prompt",
241
  elem_id="prompt-text-input",
242
  )
243
- btn = gr.Button("Generate", scale=0)
244
 
245
  gallery = gr.Gallery(
246
  label="Generated images", show_label=False, elem_id="gallery", grid=[2]
 
137
  #prompt-container{
138
  gap: 0;
139
  }
140
+ #prompt-container .form{
141
+ border-top-right-radius: 0;
142
+ border-bottom-right-radius: 0;
143
+ }
144
+ #gen-button{
145
+ border-top-left-radius:0;
146
+ border-bottom-left-radius:0;
147
+ }
148
  #prompt-text-input, #negative-prompt-text-input{padding: .45rem 0.625rem}
149
  #component-16{border-top-width: 1px!important;margin-top: 1em}
150
  .image_duplication{position: absolute; width: 100px; left: 50px}
 
248
  placeholder="Enter your prompt",
249
  elem_id="prompt-text-input",
250
  )
251
+ btn = gr.Button("Generate", scale=0, elem_id="gen-button")
252
 
253
  gallery = gr.Gallery(
254
  label="Generated images", show_label=False, elem_id="gallery", grid=[2]