Kaixuanliu commited on
Commit
ddeee35
·
verified ·
1 Parent(s): 8c7d6fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -105,12 +105,12 @@ with gr.Blocks(css=custom_css) as demo:
105
  with gr.Column(min_width=260):
106
  text_input = gr.Textbox(label="Input Prompt")
107
 
108
- img1 = gr.Image(orig_img,label="Image Generated by Input Prompt",width=260,show_share_button=False,show_download_button=False)
109
  with gr.Column():
110
  start_button = gr.Button("UnlearnDiffAtk!",size='lg')
111
  with gr.Column(min_width=260):
112
  text_ouput = gr.Textbox(label="Prompt Genetated by UnlearnDiffAtk")
113
- img2 = gr.Image(result_img,label="Image Gnerated by Prompt of UnlearnDiffAtk",width=260,show_share_button=False,show_download_button=False)
114
 
115
 
116
  start_button.click(fn=excute_udiff, inputs=[drop_model, drop, shown_columns_step], outputs=[text_input, text_ouput, orig_img, result_img], api_name="udiff")
 
105
  with gr.Column(min_width=260):
106
  text_input = gr.Textbox(label="Input Prompt")
107
 
108
+ orig_img = gr.Image(label="Image Generated by Input Prompt",width=260,show_share_button=False,show_download_button=False)
109
  with gr.Column():
110
  start_button = gr.Button("UnlearnDiffAtk!",size='lg')
111
  with gr.Column(min_width=260):
112
  text_ouput = gr.Textbox(label="Prompt Genetated by UnlearnDiffAtk")
113
+ result_img = gr.Image(abel="Image Gnerated by Prompt of UnlearnDiffAtk",width=260,show_share_button=False,show_download_button=False)
114
 
115
 
116
  start_button.click(fn=excute_udiff, inputs=[drop_model, drop, shown_columns_step], outputs=[text_input, text_ouput, orig_img, result_img], api_name="udiff")