Spaces:
Running
Running
OmPrakashSingh1704
commited on
Commit
·
3462e51
1
Parent(s):
b555cb2
- app.py +1 -1
- options/Banner_Model/__pycache__/Image2Image.cpython-310.pyc +0 -0
- options/Banner_Model/__pycache__/Image2Image_2.cpython-310.pyc +0 -0
- options/Banner_Model/__pycache__/Text2Banner.cpython-310.pyc +0 -0
- options/Banner_Model/__pycache__/__init__.cpython-310.pyc +0 -0
- options/Video_model/__pycache__/Model.cpython-310.pyc +0 -0
- options/Video_model/__pycache__/__init__.cpython-310.pyc +0 -0
- options/__pycache__/Banner.cpython-310.pyc +0 -0
- options/__pycache__/Video.cpython-310.pyc +0 -0
app.py
CHANGED
@@ -137,7 +137,7 @@ with gr.Blocks() as demo:
|
|
137 |
img = gr.Image()
|
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,
|
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)
|
|
|
137 |
img = gr.Image()
|
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, 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)
|
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
|
|
options/Banner_Model/__pycache__/Image2Image_2.cpython-310.pyc
CHANGED
Binary files a/options/Banner_Model/__pycache__/Image2Image_2.cpython-310.pyc and b/options/Banner_Model/__pycache__/Image2Image_2.cpython-310.pyc differ
|
|
options/Banner_Model/__pycache__/Text2Banner.cpython-310.pyc
CHANGED
Binary files a/options/Banner_Model/__pycache__/Text2Banner.cpython-310.pyc and b/options/Banner_Model/__pycache__/Text2Banner.cpython-310.pyc differ
|
|
options/Banner_Model/__pycache__/__init__.cpython-310.pyc
CHANGED
Binary files a/options/Banner_Model/__pycache__/__init__.cpython-310.pyc and b/options/Banner_Model/__pycache__/__init__.cpython-310.pyc differ
|
|
options/Video_model/__pycache__/Model.cpython-310.pyc
CHANGED
Binary files a/options/Video_model/__pycache__/Model.cpython-310.pyc and b/options/Video_model/__pycache__/Model.cpython-310.pyc differ
|
|
options/Video_model/__pycache__/__init__.cpython-310.pyc
CHANGED
Binary files a/options/Video_model/__pycache__/__init__.cpython-310.pyc and b/options/Video_model/__pycache__/__init__.cpython-310.pyc differ
|
|
options/__pycache__/Banner.cpython-310.pyc
CHANGED
Binary files a/options/__pycache__/Banner.cpython-310.pyc and b/options/__pycache__/Banner.cpython-310.pyc differ
|
|
options/__pycache__/Video.cpython-310.pyc
CHANGED
Binary files a/options/__pycache__/Video.cpython-310.pyc and b/options/__pycache__/Video.cpython-310.pyc differ
|
|