John6666 commited on
Commit
818d649
1 Parent(s): 5519c1a

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -58,7 +58,7 @@ It saves you the trouble of typing them in.<br>
58
  hf_token = gr.Textbox(label="Your HF write token", placeholder="hf_...", value="", max_lines=1)
59
  civitai_key = gr.Textbox(label="Your Civitai API Key (Optional)", info="If you download model from Civitai...", placeholder="", value="", max_lines=1)
60
  is_upload_sf = gr.Checkbox(label="Upload single safetensors file into new repo", value=False)
61
- with gr.Accordion("Advanced settings"):
62
  is_half = gr.Checkbox(label="Half precision", value=True)
63
  vae = gr.Dropdown(label="VAE", choices=vaes, value="", allow_custom_value=True)
64
  scheduler = gr.Dropdown(label="Scheduler (Sampler)", choices=schedulers, value="Euler a")
@@ -72,7 +72,7 @@ It saves you the trouble of typing them in.<br>
72
  lora4s = gr.Slider(minimum=-2, maximum=2, step=0.01, value=1.00, label="LoRA4 weight scale")
73
  lora5 = gr.Dropdown(label="LoRA5", choices=loras, value="", allow_custom_value=True)
74
  lora5s = gr.Slider(minimum=-2, maximum=2, step=0.01, value=1.00, label="LoRA5 weight scale")
75
- run_button = gr.Button(value="Submit")
76
  repo_urls = gr.CheckboxGroup(visible=False, choices=[], value=None)
77
  output_md = gr.Markdown(label="Output")
78
  gr.DuplicateButton(value="Duplicate Space")
 
58
  hf_token = gr.Textbox(label="Your HF write token", placeholder="hf_...", value="", max_lines=1)
59
  civitai_key = gr.Textbox(label="Your Civitai API Key (Optional)", info="If you download model from Civitai...", placeholder="", value="", max_lines=1)
60
  is_upload_sf = gr.Checkbox(label="Upload single safetensors file into new repo", value=False)
61
+ with gr.Accordion("Advanced settings", open=False):
62
  is_half = gr.Checkbox(label="Half precision", value=True)
63
  vae = gr.Dropdown(label="VAE", choices=vaes, value="", allow_custom_value=True)
64
  scheduler = gr.Dropdown(label="Scheduler (Sampler)", choices=schedulers, value="Euler a")
 
72
  lora4s = gr.Slider(minimum=-2, maximum=2, step=0.01, value=1.00, label="LoRA4 weight scale")
73
  lora5 = gr.Dropdown(label="LoRA5", choices=loras, value="", allow_custom_value=True)
74
  lora5s = gr.Slider(minimum=-2, maximum=2, step=0.01, value=1.00, label="LoRA5 weight scale")
75
+ run_button = gr.Button(value="Submit")
76
  repo_urls = gr.CheckboxGroup(visible=False, choices=[], value=None)
77
  output_md = gr.Markdown(label="Output")
78
  gr.DuplicateButton(value="Duplicate Space")