OmPrakashSingh1704 commited on
Commit
b555cb2
·
1 Parent(s): 43954b3
app.py CHANGED
@@ -138,6 +138,7 @@ with gr.Blocks() as demo:
138
  prompt = gr.Textbox(label="Enter the text to get a good start")
139
  btn = gr.Button()
140
  size = gr.Slider(label="Size", minimum=256, maximum=MAX_IMAGE_SIZE, step=8, value=1024)
 
141
  out_img = gr.Image()
142
  btn.click(Banner.Image2Image_2, [prompt, img,size,num_inference_steps], out_img)
143
 
 
138
  prompt = gr.Textbox(label="Enter the text to get a good start")
139
  btn = gr.Button()
140
  size = gr.Slider(label="Size", minimum=256, maximum=MAX_IMAGE_SIZE, step=8, value=1024)
141
+ num_inference_steps = gr.Slider(label="num_inference_steps", minimum=1, maximum=100, step=8, value=20)
142
  out_img = gr.Image()
143
  btn.click(Banner.Image2Image_2, [prompt, img,size,num_inference_steps], out_img)
144
 
options/Banner_Model/__pycache__/Image2Image.cpython-310.pyc CHANGED
Binary files a/options/Banner_Model/__pycache__/Image2Image.cpython-310.pyc and b/options/Banner_Model/__pycache__/Image2Image.cpython-310.pyc differ