Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
dad6779
1
Parent(s):
9640ef2
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def update_selection(evt: gr.SelectData):
|
|
27 |
)
|
28 |
|
29 |
@spaces.GPU
|
30 |
-
def run_lora(prompt, cfg_scale, steps, selected_index, seed, width, height, lora_scale):
|
31 |
if selected_index is None:
|
32 |
raise gr.Error("You must select a LoRA before proceeding.")
|
33 |
|
|
|
27 |
)
|
28 |
|
29 |
@spaces.GPU
|
30 |
+
def run_lora(prompt, cfg_scale, steps, selected_index, seed, width, height, lora_scale, progress=gr.Progress(track_tqdm=True)):
|
31 |
if selected_index is None:
|
32 |
raise gr.Error("You must select a LoRA before proceeding.")
|
33 |
|