Linoy Tsaban commited on
Commit
65837e4
1 Parent(s): 33984db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -224,7 +224,7 @@ with gr.Blocks(css='style.css') as demo:
224
  wts = gr.State()
225
  zs = gr.State()
226
  do_inversion = gr.State(value=True)
227
- sega_concepts_counter = gr.Number(1)
228
  with gr.Row():
229
  input_image = gr.Image(label="Input Image", interactive=True)
230
  # ddpm_edited_image = gr.Image(label=f"DDPM Reconstructed Image", interactive=False, visible=False)
@@ -251,7 +251,7 @@ with gr.Blocks(css='style.css') as demo:
251
  warmup_1 = gr.Slider(label='Warmup', minimum=0, maximum=50, value=10, step=1, interactive=True)
252
  guidnace_scale_1 = gr.Slider(label='Scale', minimum=1, maximum=10, value=5, step=0.25, interactive=True)
253
  threshold_1 = gr.Slider(label='Threshold', minimum=0.5, maximum=0.99, value=0.95, steps=0.01, interactive=True)
254
- edit_concept_1 = gr.Textbox(
255
  label="Edit Concept",
256
  show_label=False,
257
  max_lines=1,
 
224
  wts = gr.State()
225
  zs = gr.State()
226
  do_inversion = gr.State(value=True)
227
+ sega_concepts_counter = gr.State(1)
228
  with gr.Row():
229
  input_image = gr.Image(label="Input Image", interactive=True)
230
  # ddpm_edited_image = gr.Image(label=f"DDPM Reconstructed Image", interactive=False, visible=False)
 
251
  warmup_1 = gr.Slider(label='Warmup', minimum=0, maximum=50, value=10, step=1, interactive=True)
252
  guidnace_scale_1 = gr.Slider(label='Scale', minimum=1, maximum=10, value=5, step=0.25, interactive=True)
253
  threshold_1 = gr.Slider(label='Threshold', minimum=0.5, maximum=0.99, value=0.95, steps=0.01, interactive=True)
254
+ edit_concept_1 = gr.Textbox(
255
  label="Edit Concept",
256
  show_label=False,
257
  max_lines=1,