Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -637,18 +637,15 @@ setTimeout(() => {{
|
|
| 637 |
# RIGHT: Instruction preview + dataset + sliders
|
| 638 |
with gr.Column(scale=1):
|
| 639 |
with gr.Accordion("Model Instructions", open=False):
|
| 640 |
-
instruction_preview = gr.Textbox(
|
| 641 |
-
|
| 642 |
-
|
| 643 |
-
|
| 644 |
-
|
| 645 |
-
|
| 646 |
-
|
| 647 |
-
|
| 648 |
-
|
| 649 |
-
value="Manual (step)",
|
| 650 |
-
label="Batch mode"
|
| 651 |
-
)
|
| 652 |
chunk_size = gr.Slider(1, 50, value=10, step=1, label="Chunk size")
|
| 653 |
gpu_budget = gr.Slider(20, 110, value=55, step=5, label="Max seconds per GPU call")
|
| 654 |
|
|
|
|
| 637 |
# RIGHT: Instruction preview + dataset + sliders
|
| 638 |
with gr.Column(scale=1):
|
| 639 |
with gr.Accordion("Model Instructions", open=False):
|
| 640 |
+
instruction_preview = gr.Textbox(
|
| 641 |
+
label=None,
|
| 642 |
+
lines=12,
|
| 643 |
+
value=final_instruction(
|
| 644 |
+
settings.get("styles", ["Character training (long)"]),
|
| 645 |
+
settings.get("extras", []),
|
| 646 |
+
settings.get("name", ""),
|
| 647 |
+
),
|
| 648 |
+
)
|
|
|
|
|
|
|
|
|
|
| 649 |
chunk_size = gr.Slider(1, 50, value=10, step=1, label="Chunk size")
|
| 650 |
gpu_budget = gr.Slider(20, 110, value=55, step=5, label="Max seconds per GPU call")
|
| 651 |
|