ysharma HF staff commited on
Commit
65a446a
·
1 Parent(s): df8cf30

updated image component to visible as False

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -133,8 +133,8 @@ with gr.Blocks() as demo:
133
  in_steps = gr.Number(label="Enter the number of Inference steps", value = 20)
134
  in_guidance_scale = gr.Slider(1,10, step=0.5, label="Set Guidance scale", value=7.5)
135
  in_img_guidance_scale = gr.Slider(1,10, step=0.5, label="Set Image Guidance scale", value=1.5)
136
- image_hid = gr.Image(type='pil', visible=True)
137
- image_oneup = gr.Image(type='pil', visible=True)
138
  img_name_temp_out = gr.Textbox(visible=False)
139
  #img_revert = gr.Checkbox(visible=True, value=False,label=to track a revert message)
140
  counter_out = gr.Number(visible=False, value=0, precision=0)
 
133
  in_steps = gr.Number(label="Enter the number of Inference steps", value = 20)
134
  in_guidance_scale = gr.Slider(1,10, step=0.5, label="Set Guidance scale", value=7.5)
135
  in_img_guidance_scale = gr.Slider(1,10, step=0.5, label="Set Image Guidance scale", value=1.5)
136
+ image_hid = gr.Image(type='pil', visible=False)
137
+ image_oneup = gr.Image(type='pil', visible=False)
138
  img_name_temp_out = gr.Textbox(visible=False)
139
  #img_revert = gr.Checkbox(visible=True, value=False,label=to track a revert message)
140
  counter_out = gr.Number(visible=False, value=0, precision=0)