prithivMLmods commited on
Commit
927c42d
·
verified ·
1 Parent(s): 521e7b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -159,7 +159,7 @@ def prepare_image_and_mask(image, width, height, overlap_percentage, resize_opti
159
 
160
  return background, mask
161
 
162
- @spaces.GPU(duration=20)
163
  def infer(image, width, height, overlap_percentage, num_inference_steps, resize_option, custom_resize_percentage, prompt_input, alignment, overlap_left, overlap_right, overlap_top, overlap_bottom, selected_model):
164
  background, mask = prepare_image_and_mask(image, width, height, overlap_percentage, resize_option, custom_resize_percentage, alignment, overlap_left, overlap_right, overlap_top, overlap_bottom)
165
 
@@ -248,11 +248,11 @@ h1 {
248
  display: block;
249
  }
250
  .submit-btn {
251
- background-color: #D8BFD8 !important;
252
  color: white !important;
253
  }
254
  .submit-btn:hover {
255
- background-color: #DDA0DD !important;
256
  """
257
 
258
  title = """<h1 align="center">Diffusers Image Outpaint Lightning</h1>
 
159
 
160
  return background, mask
161
 
162
+ @spaces.GPU(duration=28)
163
  def infer(image, width, height, overlap_percentage, num_inference_steps, resize_option, custom_resize_percentage, prompt_input, alignment, overlap_left, overlap_right, overlap_top, overlap_bottom, selected_model):
164
  background, mask = prepare_image_and_mask(image, width, height, overlap_percentage, resize_option, custom_resize_percentage, alignment, overlap_left, overlap_right, overlap_top, overlap_bottom)
165
 
 
248
  display: block;
249
  }
250
  .submit-btn {
251
+ background-color: #AFEEEE !important;
252
  color: white !important;
253
  }
254
  .submit-btn:hover {
255
+ background-color: #7FFFD4 !important;
256
  """
257
 
258
  title = """<h1 align="center">Diffusers Image Outpaint Lightning</h1>