Commit
•
58ad9c8
1
Parent(s):
2834c0b
swap type to password
Browse files
app.py
CHANGED
@@ -387,7 +387,7 @@ with gr.Blocks(css=css) as demo:
|
|
387 |
training_summary_checkbox = gr.Checkbox("Remove GPU After - automatically remove paid GPU attribution and upload model to the Hugging Face Hub after training")
|
388 |
training_summary_model_name = gr.Textbox(label="Name of your model", visible=False)
|
389 |
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=False)
|
390 |
-
training_summary_token = gr.Textbox(label="Hugging Face Write Token", type="
|
391 |
|
392 |
train_btn = gr.Button("Start Training")
|
393 |
|
|
|
387 |
training_summary_checkbox = gr.Checkbox("Remove GPU After - automatically remove paid GPU attribution and upload model to the Hugging Face Hub after training")
|
388 |
training_summary_model_name = gr.Textbox(label="Name of your model", visible=False)
|
389 |
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=False)
|
390 |
+
training_summary_token = gr.Textbox(label="Hugging Face Write Token", type="password", visible=False)
|
391 |
|
392 |
train_btn = gr.Button("Start Training")
|
393 |
|