prithivMLmods commited on
Commit
47bf539
·
verified ·
1 Parent(s): 942cc37

update app

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -146,7 +146,7 @@ def update_dimensions_on_upload(image):
146
 
147
  return new_width, new_height
148
 
149
- @spaces.GPU
150
  def infer(
151
  input_image,
152
  prompt,
@@ -193,7 +193,7 @@ def infer(
193
 
194
  return result, seed
195
 
196
- @spaces.GPU
197
  def infer_example(input_image, prompt, lora_adapter):
198
  input_pil = input_image.convert("RGB")
199
  guidance_scale = 1.0
 
146
 
147
  return new_width, new_height
148
 
149
+ @spaces.GPU(duration=30)
150
  def infer(
151
  input_image,
152
  prompt,
 
193
 
194
  return result, seed
195
 
196
+ @spaces.GPU(duration=30)
197
  def infer_example(input_image, prompt, lora_adapter):
198
  input_pil = input_image.convert("RGB")
199
  guidance_scale = 1.0