ZJUPeng commited on
Commit
45b7c6c
1 Parent(s): 255788a

update config

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=20, step=1, label='Edit Steps')
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",