Spaces:
Running
Running
Upload app.py
Browse files
app.py
CHANGED
@@ -37,10 +37,10 @@ with gr.Blocks(theme="NoCrypt/miku@>=1.2.2", fill_width=True, css=css, delete_ca
|
|
37 |
hf_token = gr.Textbox(label="Your HF write token", placeholder="hf_...", value="", max_lines=1)
|
38 |
gr.Markdown("Your token is available at [hf.co/settings/tokens](https://huggingface.co/settings/tokens).", elem_classes="info")
|
39 |
newrepo_id = gr.Textbox(label="Upload repo ID", placeholder="yourid/yourrepo", value="", max_lines=1)
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
run_button = gr.Button(value="Download and Upload", variant="primary")
|
45 |
uploaded_urls = gr.CheckboxGroup(visible=False, choices=[], value=None) # hidden
|
46 |
urls_md = gr.Markdown("<br><br>", elem_classes="result")
|
|
|
37 |
hf_token = gr.Textbox(label="Your HF write token", placeholder="hf_...", value="", max_lines=1)
|
38 |
gr.Markdown("Your token is available at [hf.co/settings/tokens](https://huggingface.co/settings/tokens).", elem_classes="info")
|
39 |
newrepo_id = gr.Textbox(label="Upload repo ID", placeholder="yourid/yourrepo", value="", max_lines=1)
|
40 |
+
with gr.Row():
|
41 |
+
newrepo_type = gr.Radio(label="Upload repo type", choices=["model", "dataset"], value="model")
|
42 |
+
is_private = gr.Checkbox(label="Create private repo", value=True)
|
43 |
+
is_info = gr.Checkbox(label="Upload Civitai information files", value=False)
|
44 |
run_button = gr.Button(value="Download and Upload", variant="primary")
|
45 |
uploaded_urls = gr.CheckboxGroup(visible=False, choices=[], value=None) # hidden
|
46 |
urls_md = gr.Markdown("<br><br>", elem_classes="result")
|