Spaces:
Sleeping
Sleeping
Himanshu-AT
commited on
Commit
·
a228de9
1
Parent(s):
b78ca95
init gradio
Browse files
app.py
CHANGED
@@ -79,7 +79,7 @@ pipe.enable_lora()
|
|
79 |
|
80 |
# return width, height
|
81 |
|
82 |
-
|
83 |
def infer(edit_images, prompt, prompt2, width, height, seed=42, randomize_seed=False, guidance_scale=3.5, num_inference_steps=28, progress=gr.Progress(track_tqdm=True)):
|
84 |
# pipe.enable_xformers_memory_efficient_attention()
|
85 |
|
|
|
79 |
|
80 |
# return width, height
|
81 |
|
82 |
+
@spaces.GPU(durations=300)
|
83 |
def infer(edit_images, prompt, prompt2, width, height, seed=42, randomize_seed=False, guidance_scale=3.5, num_inference_steps=28, progress=gr.Progress(track_tqdm=True)):
|
84 |
# pipe.enable_xformers_memory_efficient_attention()
|
85 |
|