update config
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ with gr.Blocks(css=css,theme=gr.themes.Soft(text_size="sm")) as demo:
|
|
50 |
prompt = gr.Textbox(label="Edit Prompt")
|
51 |
target_new = gr.Textbox(label="Edit Target New")
|
52 |
with gr.Row():
|
53 |
-
num_steps = gr.Slider(10, 100, value=
|
54 |
replacement = gr.Dropdown(
|
55 |
choices=["replace_last", "replace_all", "replace_prompt"],
|
56 |
value="replace_last",
|
|
|
50 |
prompt = gr.Textbox(label="Edit Prompt")
|
51 |
target_new = gr.Textbox(label="Edit Target New")
|
52 |
with gr.Row():
|
53 |
+
num_steps = gr.Slider(10, 100, value=40, step=1, label='Edit Steps')
|
54 |
replacement = gr.Dropdown(
|
55 |
choices=["replace_last", "replace_all", "replace_prompt"],
|
56 |
value="replace_last",
|