Significant commited on
Commit
76ba1d9
·
verified ·
1 Parent(s): bfbf6ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -2
app.py CHANGED
@@ -287,7 +287,7 @@ background: linear-gradient(135deg, #CCFED9, #95BAFF);
287
  }
288
 
289
  #generate_btn {
290
- background: #553566 !important; !important;
291
  color: white !important;
292
  }
293
 
@@ -298,6 +298,12 @@ background: linear-gradient(135deg, #CCFED9, #95BAFF);
298
  color: #D46BCA !important;
299
  }
300
 
 
 
 
 
 
 
301
 
302
  footer, [class*="footer"], [class*="api"], [class*="settings"] {
303
  display: none !important;
@@ -325,8 +331,11 @@ with gr.Blocks(css=css) as demo:
325
  file_types=["image"]
326
  )
327
  uploaded_files = gr.Gallery(label="Your images", visible=False, columns=5, rows=1, height=200)
328
- with gr.Column(visible=False) as clear_button:
329
  remove_and_reupload = gr.ClearButton(value="Remove and upload new ones", components=files, size="sm")
 
 
 
330
  prompt = gr.Textbox(label="Prompt",
331
  info="Try something like 'a photo of a man/woman img', 'img' is the trigger word.",
332
  placeholder="A photo of a [man/woman img]...")
 
287
  }
288
 
289
  #generate_btn {
290
+ background: #553566 !important;
291
  color: white !important;
292
  }
293
 
 
298
  color: #D46BCA !important;
299
  }
300
 
301
+ #reupload_wrapper button {
302
+ background: #553566 !important;
303
+ color: white !important;
304
+
305
+ }
306
+
307
 
308
  footer, [class*="footer"], [class*="api"], [class*="settings"] {
309
  display: none !important;
 
331
  file_types=["image"]
332
  )
333
  uploaded_files = gr.Gallery(label="Your images", visible=False, columns=5, rows=1, height=200)
334
+ with gr.Column(visible=False, elem_id="reupload_wrapper") as clear_button:
335
  remove_and_reupload = gr.ClearButton(value="Remove and upload new ones", components=files, size="sm")
336
+
337
+ # with gr.Column(visible=False) as clear_button:
338
+ # remove_and_reupload = gr.ClearButton(value="Remove and upload new ones", components=files, size="sm")
339
  prompt = gr.Textbox(label="Prompt",
340
  info="Try something like 'a photo of a man/woman img', 'img' is the trigger word.",
341
  placeholder="A photo of a [man/woman img]...")