John6666 commited on
Commit
6bc8c1e
·
verified ·
1 Parent(s): 0353ee6

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
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)):