Spaces:
Running
Running
Commit
•
428b3d2
1
Parent(s):
516ca76
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=80)
|
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.")
|