hadisalman commited on
Commit
1949c59
1 Parent(s): a03c662

Update inst

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -135,7 +135,7 @@ examples_list = [
135
 
136
  with gr.Blocks() as demo:
137
  gr.HTML(value="""<h1 style="font-weight: 900; margin-bottom: 7px; margin-top: 5px;">
138
- Interactive Demo: Raising the Cost of Malicious AI-Powered Image Editing </h1><br>
139
  """)
140
  gr.Markdown(description)
141
  with gr.Accordion(label='How to use (step by step):', open=False):
@@ -165,7 +165,7 @@ with gr.Blocks() as demo:
165
  with gr.Column():
166
  imgmask = gr.ImageMask(label='Drawing tool to mask regions you want to keep, e.g. faces')
167
  prompt = gr.Textbox(label='Prompt', placeholder='A photo of a man in a wedding')
168
- seed = gr.Textbox(label='Seed (Change to get different edits)', placeholder=str(DEFAULT_SEED), visible=True)
169
  with gr.Accordion("Advanced options (to improve quality of edits)", open=False):
170
  scale = gr.Slider(label="Guidance scale", minimum=0.1, maximum=25.0, value=GUIDANCE_SCALE, step=0.1)
171
  num_steps = gr.Slider(label="Number of inference steps (higher better, but slower)", minimum=10, maximum=250, value=NUM_INFERENCE_STEPS, step=5)
 
135
 
136
  with gr.Blocks() as demo:
137
  gr.HTML(value="""<h1 style="font-weight: 900; margin-bottom: 7px; margin-top: 5px;">
138
+ Interactive Demo: Raising the Cost of Malicious AI-Powered Image Editing </h1>
139
  """)
140
  gr.Markdown(description)
141
  with gr.Accordion(label='How to use (step by step):', open=False):
 
165
  with gr.Column():
166
  imgmask = gr.ImageMask(label='Drawing tool to mask regions you want to keep, e.g. faces')
167
  prompt = gr.Textbox(label='Prompt', placeholder='A photo of a man in a wedding')
168
+ seed = gr.Textbox(label='Seed (change to get different edits)', placeholder=str(DEFAULT_SEED), visible=True)
169
  with gr.Accordion("Advanced options (to improve quality of edits)", open=False):
170
  scale = gr.Slider(label="Guidance scale", minimum=0.1, maximum=25.0, value=GUIDANCE_SCALE, step=0.1)
171
  num_steps = gr.Slider(label="Number of inference steps (higher better, but slower)", minimum=10, maximum=250, value=NUM_INFERENCE_STEPS, step=5)