Spaces:
Runtime error
Runtime error
Commit
•
516ca76
1
Parent(s):
32f56d9
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=75)
|
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.")
|