Spaces:
Runtime error
Runtime error
Commit
·
6f6509e
1
Parent(s):
3c167e9
Update app.py
Browse files
app.py
CHANGED
@@ -706,7 +706,13 @@ To improve the quality of your outputs, you can add a custom caption for each im
|
|
706 |
label="Dataloader num workers", value=0, minimum=0, maximum=64
|
707 |
)
|
708 |
local_rank = gr.Number(label="local_rank", value=-1)
|
709 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
710 |
start = gr.Button("Start training", visible=False)
|
711 |
progress_area = gr.HTML("...")
|
712 |
output_components.insert(1, advanced)
|
|
|
706 |
label="Dataloader num workers", value=0, minimum=0, maximum=64
|
707 |
)
|
708 |
local_rank = gr.Number(label="local_rank", value=-1)
|
709 |
+
with gr.Row():
|
710 |
+
with gr.Group():
|
711 |
+
gr.Markdown('''### This training is estimated to cost <b>US$ 3,50</b> with your current settings
|
712 |
+
- Get your Hugging Face <b>write</b> token [here](https://huggingface.co/settings/tokens)
|
713 |
+
- (For the training to your you need to have a credit card set up in your account, set it up [here](https://huggingface.co/settings/billing/payment))
|
714 |
+
''')
|
715 |
+
token = gr.Textbox(label="Your Hugging Face write token", info="A Hugging Face write token you can obtain on the settings page")
|
716 |
start = gr.Button("Start training", visible=False)
|
717 |
progress_area = gr.HTML("...")
|
718 |
output_components.insert(1, advanced)
|