Spaces:
Runtime error
Runtime error
Commit
•
0a646c7
1
Parent(s):
1b5780b
Update app.py
Browse files
app.py
CHANGED
@@ -536,11 +536,11 @@ with gr.Blocks(css=css) as demo:
|
|
536 |
with gr.Box(visible=False) as training_summary:
|
537 |
training_summary_text = gr.HTML("", visible=True, label="Training Summary")
|
538 |
is_advanced_visible = True if is_spaces else False
|
539 |
-
training_summary_checkbox = gr.Checkbox(label="Automatically remove paid GPU attribution and upload model to the Hugging Face Hub after training", value=
|
540 |
-
training_summary_model_name = gr.Textbox(label="Name of your model", visible=
|
541 |
-
training_summary_where_to_upload = gr.Dropdown(["My personal profile", "Public Library"], label="Upload to", visible=
|
542 |
-
training_summary_token_message = gr.Markdown("[A Hugging Face write access token](https://huggingface.co/settings/tokens), go to \"New token\" -> Role : Write. A regular read token won't work here.", visible=
|
543 |
-
training_summary_token = gr.Textbox(label="Hugging Face Write Token", type="password", visible=
|
544 |
|
545 |
train_btn = gr.Button("Start Training")
|
546 |
if(is_shared_ui):
|
|
|
536 |
with gr.Box(visible=False) as training_summary:
|
537 |
training_summary_text = gr.HTML("", visible=True, label="Training Summary")
|
538 |
is_advanced_visible = True if is_spaces else False
|
539 |
+
training_summary_checkbox = gr.Checkbox(label="Automatically remove paid GPU attribution and upload model to the Hugging Face Hub after training", value=True, visible=is_advanced_visible)
|
540 |
+
training_summary_model_name = gr.Textbox(label="Name of your model", visible=True)
|
541 |
+
training_summary_where_to_upload = gr.Dropdown(["My personal profile", "Public Library"], value="My personal profile", label="Upload to", visible=True)
|
542 |
+
training_summary_token_message = gr.Markdown("[A Hugging Face write access token](https://huggingface.co/settings/tokens), go to \"New token\" -> Role : Write. A regular read token won't work here.", visible=True)
|
543 |
+
training_summary_token = gr.Textbox(label="Hugging Face Write Token", type="password", visible=True)
|
544 |
|
545 |
train_btn = gr.Button("Start Training")
|
546 |
if(is_shared_ui):
|