XuDongZhou commited on
Commit
671da46
·
verified ·
1 Parent(s): e599390

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,4 +1,4 @@
1
- import cv2, os
2
  import torch
3
  import random
4
  import numpy as np
@@ -352,7 +352,7 @@ with gr.Blocks(css=css) as demo:
352
  adapter_strength_ratio = gr.Slider(
353
  label="Image adapter strength (for detail)",
354
  minimum=0,
355
- maximum=1.2,
356
  step=0.1,
357
  value=0.8,
358
  )
 
1
+ import cv2, os, math
2
  import torch
3
  import random
4
  import numpy as np
 
352
  adapter_strength_ratio = gr.Slider(
353
  label="Image adapter strength (for detail)",
354
  minimum=0,
355
+ maximum=1.0,
356
  step=0.1,
357
  value=0.8,
358
  )