Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -329,22 +329,23 @@ with gr.Blocks(css=css) as demo:
|
|
| 329 |
<p>Don't worry, after training is finished, sleep time will be back to 5 minutes.</p>
|
| 330 |
</div>
|
| 331 |
''', elem_id="warning-setsleeptime")
|
| 332 |
-
|
| 333 |
-
|
| 334 |
-
|
| 335 |
-
|
| 336 |
-
|
| 337 |
-
|
| 338 |
-
|
| 339 |
-
|
| 340 |
-
|
| 341 |
-
|
| 342 |
-
|
| 343 |
-
|
| 344 |
-
|
| 345 |
-
|
| 346 |
-
|
| 347 |
-
|
|
|
|
| 348 |
|
| 349 |
|
| 350 |
|
|
|
|
| 329 |
<p>Don't worry, after training is finished, sleep time will be back to 5 minutes.</p>
|
| 330 |
</div>
|
| 331 |
''', elem_id="warning-setsleeptime")
|
| 332 |
+
|
| 333 |
+
with gr.Group():
|
| 334 |
+
current_sleep_time = gr.Dropdown(
|
| 335 |
+
label="current space sleep time",
|
| 336 |
+
choices = [
|
| 337 |
+
"Don't sleep", "5 minutes", "15 minutes", "30 minutes", "1 hour", "10 hours", "24 hours", "48 hours", "72 hours", "1 week"
|
| 338 |
+
],
|
| 339 |
+
filterable=False
|
| 340 |
+
)
|
| 341 |
+
|
| 342 |
+
training_type = gr.Radio(label="Training type", choices=["style", "concept"], value="style", visible=False)
|
| 343 |
+
b_lora_name = gr.Textbox(label="Name your B-LoRa model", placeholder="b_lora_trained_folder", visible=False)
|
| 344 |
+
with gr.Row():
|
| 345 |
+
instance_prompt = gr.Textbox(label="Create instance prompt", placeholder="A [v42] <class_prompt>", visible=False)
|
| 346 |
+
class_prompt = gr.Textbox(label="Specify class prompt", placeholder="style | person | dog ", visible=False)
|
| 347 |
+
training_steps = gr.Number(label="Training steps", value=1000, interactive=False, visible=False)
|
| 348 |
+
checkpoint_step = gr.Number(label="checkpoint step", visible=False, value=500)
|
| 349 |
|
| 350 |
|
| 351 |
|