ovi054 commited on
Commit
985b905
1 Parent(s): f94e79d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,7 +27,7 @@ article_text = """
27
  </div>
28
  """
29
 
30
- def query(lora_id, prompt, is_negative=False, steps=28, cfg_scale=3.5, sampler="DPM++ 2M Karras", seed=-1, width=1024, height=1024):
31
  if prompt == "" or prompt == None:
32
  return None
33
 
@@ -128,6 +128,6 @@ with gr.Blocks(theme='Nymbo/Nymbo_Theme', css=css) as app:
128
  )
129
 
130
 
131
- text_button.click(query, inputs=[custom_lora, text_prompt, negative_prompt, steps, cfg, method, seed, width, height], outputs=[image_output,seed_output])
132
 
133
  app.launch(show_api=False, share=False)
 
27
  </div>
28
  """
29
 
30
+ def query(lora_id, prompt, steps=28, cfg_scale=3.5, sampler="DPM++ 2M Karras", seed=-1, width=1024, height=1024):
31
  if prompt == "" or prompt == None:
32
  return None
33
 
 
128
  )
129
 
130
 
131
+ text_button.click(query, inputs=[custom_lora, text_prompt, steps, cfg, method, seed, width, height], outputs=[image_output,seed_output])
132
 
133
  app.launch(show_api=False, share=False)