Spaces:
Sleeping
Sleeping
Commit
•
4f381ea
1
Parent(s):
607d766
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def update_selection(evt: gr.SelectData):
|
|
30 |
evt.index
|
31 |
)
|
32 |
|
33 |
-
@spaces.GPU(duration=
|
34 |
def run_lora(prompt, cfg_scale, steps, selected_index, randomize_seed, seed, width, height, lora_scale, progress=gr.Progress(track_tqdm=True)):
|
35 |
if selected_index is None:
|
36 |
raise gr.Error("You must select a LoRA before proceeding.")
|
|
|
30 |
evt.index
|
31 |
)
|
32 |
|
33 |
+
@spaces.GPU(duration=60)
|
34 |
def run_lora(prompt, cfg_scale, steps, selected_index, randomize_seed, seed, width, height, lora_scale, progress=gr.Progress(track_tqdm=True)):
|
35 |
if selected_index is None:
|
36 |
raise gr.Error("You must select a LoRA before proceeding.")
|