EmoCube commited on
Commit
24575c1
·
verified ·
1 Parent(s): ee88487

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -30,7 +30,8 @@ def query(prompt, is_negative=False, steps=30, cfg_scale=7, sampler="DPM++ 2M Ka
30
  "steps": steps,
31
  "cfg_scale": cfg_scale,
32
  "seed": seed if seed!= -1 else random.randint(1, 1000000000),
33
- "strength": strength
 
34
  }
35
 
36
  API_URL = API_URLS[model]
@@ -75,7 +76,6 @@ with gr.Blocks(theme='Nymbo/Nymbo_Theme', css=css) as app:
75
  strength = gr.Slider(label="Strength", value=0.7, minimum=0, maximum=1, step=0.001)
76
  seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=1000000000, step=1)
77
  model = gr.Radio(label="Model", value="SDXL 1.0", choices=["SDXL 1.0", "SD 3.5"])
78
- provider = "replicate"
79
 
80
  with gr.Row():
81
  text_button = gr.Button("Run", variant='primary', elem_id="gen-button")
 
30
  "steps": steps,
31
  "cfg_scale": cfg_scale,
32
  "seed": seed if seed!= -1 else random.randint(1, 1000000000),
33
+ "strength": strength,
34
+ "provider": "replicate"
35
  }
36
 
37
  API_URL = API_URLS[model]
 
76
  strength = gr.Slider(label="Strength", value=0.7, minimum=0, maximum=1, step=0.001)
77
  seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=1000000000, step=1)
78
  model = gr.Radio(label="Model", value="SDXL 1.0", choices=["SDXL 1.0", "SD 3.5"])
 
79
 
80
  with gr.Row():
81
  text_button = gr.Button("Run", variant='primary', elem_id="gen-button")