Spaces:
Configuration error
Configuration error
update for default values
Browse files
app.py
CHANGED
@@ -65,8 +65,8 @@ with gr.Blocks() as demo:
|
|
65 |
with gr.Row():
|
66 |
in_images = gr.File(label="Upload images to fine-tune for LORA", file_count="multiple")
|
67 |
#in_prompt = gr.Textbox(label="Enter a ")
|
68 |
-
in_steps = gr.Number(label="Enter number of steps")
|
69 |
-
in_alpha = gr.Slider(0.1,1.0, step=0.01, label="Set Alpha level - higher value has more chances to overfit")
|
70 |
with gr.Row():
|
71 |
b1 = gr.Button(value="Train LORA model")
|
72 |
b2 = gr.Button(value="Inference using LORA model")
|
|
|
65 |
with gr.Row():
|
66 |
in_images = gr.File(label="Upload images to fine-tune for LORA", file_count="multiple")
|
67 |
#in_prompt = gr.Textbox(label="Enter a ")
|
68 |
+
in_steps = gr.Number(label="Enter number of steps", value = 4000)
|
69 |
+
in_alpha = gr.Slider(0.1,1.0, step=0.01, label="Set Alpha level - higher value has more chances to overfit", value=0.5)
|
70 |
with gr.Row():
|
71 |
b1 = gr.Button(value="Train LORA model")
|
72 |
b2 = gr.Button(value="Inference using LORA model")
|