SIGMitch commited on
Commit
b6890ff
·
verified ·
1 Parent(s): a41b15f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -102,7 +102,8 @@ def process(
102
  strength=strength_slider,
103
  generator=generator,
104
  joint_attention_kwargs={"scale": num_influence},
105
- num_inference_steps=num_inference_steps_slider
 
106
  )
107
  print('INFERENCE DONE')
108
  return result.images[0].resize((image.size), Image.LANCZOS), result.images[1].resize((image.size), Image.LANCZOS)
@@ -206,4 +207,5 @@ with gr.Blocks() as demo:
206
  ]
207
  )
208
 
209
- demo.launch(auth=("user", os.getenv('Login')),share=True, debug=False, show_error=True)
 
 
102
  strength=strength_slider,
103
  generator=generator,
104
  joint_attention_kwargs={"scale": num_influence},
105
+ num_inference_steps=num_inference_steps_slider,
106
+ guidance_scale=3.5,
107
  )
108
  print('INFERENCE DONE')
109
  return result.images[0].resize((image.size), Image.LANCZOS), result.images[1].resize((image.size), Image.LANCZOS)
 
207
  ]
208
  )
209
 
210
+ # demo.launch(auth=("user", os.getenv('Login')),share=True, debug=False, show_error=True)
211
+ demo.launch(share=True, debug=False, show_error=True)