John6666 commited on
Commit
c749379
·
verified ·
1 Parent(s): b8a2e65

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -43,8 +43,8 @@ It saves you the trouble of typing them in.<br>
43
  hf_token = gr.Textbox(label="Your HF write token", placeholder="", value="", max_lines=1)
44
  civitai_key = gr.Textbox(label="Your Civitai API Key (Optional)", info="If you download model from Civitai...", placeholder="", value="", max_lines=1)
45
  is_half = gr.Checkbox(label="Half precision", value=True)
46
- model_type = gr.Radio(label="Model type", choices=["v1", "v2"])
47
- sample_size = gr.Radio(label="Sample size (px)", choices=[512, 768]),
48
  ema = gr.Radio(label="Extract EMA or non-EMA?", choices=["ema", "non-ema"], value="ema"),
49
  vae = gr.Dropdown(label="VAE", choices=vaes, value="", allow_custom_value=True)
50
  scheduler = gr.Dropdown(label="Scheduler (Sampler)", choices=schedulers, value="Euler a")
 
43
  hf_token = gr.Textbox(label="Your HF write token", placeholder="", value="", max_lines=1)
44
  civitai_key = gr.Textbox(label="Your Civitai API Key (Optional)", info="If you download model from Civitai...", placeholder="", value="", max_lines=1)
45
  is_half = gr.Checkbox(label="Half precision", value=True)
46
+ model_type = gr.Radio(label="Model type", choices=["v1", "v2"], value="v1")
47
+ sample_size = gr.Radio(label="Sample size (px)", choices=[512, 768], value=768),
48
  ema = gr.Radio(label="Extract EMA or non-EMA?", choices=["ema", "non-ema"], value="ema"),
49
  vae = gr.Dropdown(label="VAE", choices=vaes, value="", allow_custom_value=True)
50
  scheduler = gr.Dropdown(label="Scheduler (Sampler)", choices=schedulers, value="Euler a")