Spaces:
Runtime error
Runtime error
typos
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ with st.sidebar:
|
|
14 |
"microsoft/git-base",
|
15 |
"ydshieh/vit-gpt2-coco-en"
|
16 |
])
|
17 |
-
caption_max_tokens = st.number_input("Image Caption: Max Tokens")
|
18 |
st.divider()
|
19 |
caption_concat_joiner = st.text_input("Caption Concatenation Joiner", value=" ")
|
20 |
st.divider()
|
@@ -28,7 +28,7 @@ with st.sidebar:
|
|
28 |
image_gen_width = st.number_input("Stable Diffusion: Width", value=512)
|
29 |
image_gen_steps = st.slider("Stable Diffusion: Inference Steps", value=50)
|
30 |
image_gen_guidance = st.slider("Stable Diffusion: Guidance Scale", value=7.5)
|
31 |
-
image_gen_number = st.number_input("Stable Diffusion: Images
|
32 |
|
33 |
for file_name in files:
|
34 |
image = Image.open(file_name)
|
|
|
14 |
"microsoft/git-base",
|
15 |
"ydshieh/vit-gpt2-coco-en"
|
16 |
])
|
17 |
+
caption_max_tokens = st.number_input("Image Caption: Max Tokens", value=20)
|
18 |
st.divider()
|
19 |
caption_concat_joiner = st.text_input("Caption Concatenation Joiner", value=" ")
|
20 |
st.divider()
|
|
|
28 |
image_gen_width = st.number_input("Stable Diffusion: Width", value=512)
|
29 |
image_gen_steps = st.slider("Stable Diffusion: Inference Steps", value=50)
|
30 |
image_gen_guidance = st.slider("Stable Diffusion: Guidance Scale", value=7.5)
|
31 |
+
image_gen_number = st.number_input("Stable Diffusion: Images Generated", value=1)
|
32 |
|
33 |
for file_name in files:
|
34 |
image = Image.open(file_name)
|