Beasto commited on
Commit
0af326c
·
verified ·
1 Parent(s): b1057fb

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. 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)