yonishafir commited on
Commit
84c395b
1 Parent(s): 72bbea5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -105,7 +105,7 @@ def read_content(file_path: str) -> str:
105
 
106
  return content
107
 
108
- def predict(dict, prompt="", negative_prompt = default_negative_prompt, guidance_scale=1.2, steps=12, strength=1.0, seed=123456):
109
  if negative_prompt == "":
110
  negative_prompt = None
111
 
@@ -231,7 +231,7 @@ with image_blocks as demo:
231
 
232
 
233
 
234
- btn.click(fn=predict, inputs=[image, prompt, negative_prompt, guidance_scale, steps, strength, seed], outputs=[image_out], api_name='run')
235
  prompt.submit(fn=predict, inputs=[image, prompt, negative_prompt, guidance_scale, steps, strength], outputs=[image_out])
236
 
237
  gr.HTML(
 
105
 
106
  return content
107
 
108
+ def predict(dict, prompt="", negative_prompt = default_negative_prompt, guidance_scale=1.2, steps=12, seed=123456):
109
  if negative_prompt == "":
110
  negative_prompt = None
111
 
 
231
 
232
 
233
 
234
+ btn.click(fn=predict, inputs=[image, prompt, negative_prompt, guidance_scale, steps, seed], outputs=[image_out], api_name='run')
235
  prompt.submit(fn=predict, inputs=[image, prompt, negative_prompt, guidance_scale, steps, strength], outputs=[image_out])
236
 
237
  gr.HTML(