Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
62af647
1
Parent(s):
6f6509e
Update app.py
Browse files
app.py
CHANGED
|
@@ -713,6 +713,11 @@ To improve the quality of your outputs, you can add a custom caption for each im
|
|
| 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)
|
|
|
|
| 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 |
+
|
| 717 |
+
with gr.Group() as no_payment_method:
|
| 718 |
+
with gr.Row():
|
| 719 |
+
gr.Markdown("Your Hugging Face account doesn't have a payment method. You need to set it up to train your LoRA")
|
| 720 |
+
gr.Button("I have set up my payment method")
|
| 721 |
start = gr.Button("Start training", visible=False)
|
| 722 |
progress_area = gr.HTML("...")
|
| 723 |
output_components.insert(1, advanced)
|