ameerazam08 commited on
Commit
5e859e9
1 Parent(s): e667b0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ for idx, name in enumerate(files):
54
  temp = os.path.join(os.path.dirname(__file__), img, name)
55
  showcases.append(temp)
56
 
57
- @spaces.GPU(enable_queue=True)
58
  def process(original_image, original_mask, input_mask, selected_points, prompt,negative_prompt,guidance_scale,steps,strength,scheduler):
59
  if original_image.shape[0]>original_image.shape[1]:
60
  original_image=cv2.resize(original_image,(int(original_image.shape[1]*1000/original_image.shape[0]),1000))
 
54
  temp = os.path.join(os.path.dirname(__file__), img, name)
55
  showcases.append(temp)
56
 
57
+ @spaces.GPU()
58
  def process(original_image, original_mask, input_mask, selected_points, prompt,negative_prompt,guidance_scale,steps,strength,scheduler):
59
  if original_image.shape[0]>original_image.shape[1]:
60
  original_image=cv2.resize(original_image,(int(original_image.shape[1]*1000/original_image.shape[0]),1000))