Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -168,7 +168,6 @@ def generate_image(prompt_mash, steps, seed, cfg_scale, width, height, lora_scal
|
|
168 |
except Exception as e:
|
169 |
print(e)
|
170 |
raise gr.Error(f"Inference Error: {e}")
|
171 |
-
return image
|
172 |
|
173 |
def run_lora(prompt, cfg_scale, steps, selected_index, randomize_seed, seed, width, height,
|
174 |
lora_scale, lora_json, cn_on, progress=gr.Progress(track_tqdm=True)):
|
|
|
168 |
except Exception as e:
|
169 |
print(e)
|
170 |
raise gr.Error(f"Inference Error: {e}")
|
|
|
171 |
|
172 |
def run_lora(prompt, cfg_scale, steps, selected_index, randomize_seed, seed, width, height,
|
173 |
lora_scale, lora_json, cn_on, progress=gr.Progress(track_tqdm=True)):
|