Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -87,12 +87,14 @@ def main(dataset_id,
|
|
| 87 |
|
| 88 |
with gr.Blocks() as demo:
|
| 89 |
with gr.Column():
|
| 90 |
-
dataset_id = gr.Textbox(label="Dataset ID", placeholder="diffusers/dog-example")
|
| 91 |
-
instance_prompt = gr.Textbox(label="Concept prompt", info="concept prompt - use a unique, made up word to avoid collisions")
|
| 92 |
-
model_output_folder = gr.Textbox(label="Output model folder name", placeholder="lora-trained-xl-folder")
|
| 93 |
with gr.Row():
|
| 94 |
-
|
| 95 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 96 |
train_button = gr.Button("Train !")
|
| 97 |
status = gr.Textbox(labe="Training status")
|
| 98 |
|
|
|
|
| 87 |
|
| 88 |
with gr.Blocks() as demo:
|
| 89 |
with gr.Column():
|
|
|
|
|
|
|
|
|
|
| 90 |
with gr.Row():
|
| 91 |
+
dataset_id = gr.Textbox(label="Dataset ID", info="use one of your previously uploaded datasets on your HF profile", placeholder="diffusers/dog-example")
|
| 92 |
+
instance_prompt = gr.Textbox(label="Concept prompt", info="concept prompt - use a unique, made up word to avoid collisions")
|
| 93 |
+
|
| 94 |
+
with gr.Row():
|
| 95 |
+
model_output_folder = gr.Textbox(label="Output model folder name", placeholder="lora-trained-xl-folder")
|
| 96 |
+
max_train_steps = gr.Number(label="Max Training Steps", value=500)
|
| 97 |
+
checkpoint_steps = gr.Number(label="Checkpoints Steps", value=100)
|
| 98 |
train_button = gr.Button("Train !")
|
| 99 |
status = gr.Textbox(labe="Training status")
|
| 100 |
|