Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -251,4 +251,4 @@ if st.button("Generate Image"):
|
|
| 251 |
embedding = get_embeddings(output_tokens, codebook)
|
| 252 |
image = decoder(embedding)[0].numpy()
|
| 253 |
image = np.clip(image * 255, 0, 255).astype(np.uint8)
|
| 254 |
-
st.image(image)
|
|
|
|
| 251 |
embedding = get_embeddings(output_tokens, codebook)
|
| 252 |
image = decoder(embedding)[0].numpy()
|
| 253 |
image = np.clip(image * 255, 0, 255).astype(np.uint8)
|
| 254 |
+
st.image(image, caption="Generated Image", width=512)
|