You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I run the provided app everything works fine. When I try basic example and upload an image it shows up. However, when I call the same script by using st_pages only black background is displayed on the location where the image should be shown.
To recreate the issue, I have an app.py and app_draw.py script. The first creates pages and the second calls the provided canvas example. As stated, this example does work in the sense that the canvas example application runs, but only black background is displayed on the location, where instead the image should be shown. Is there any workaround for it?
# this is app.py script
import streamlit as st
from st_pages import Page, Section, show_pages, add_page_title
show_pages(
[
Page("app.py", "Home", "🏠"),
Page("app_draw.py", "Draw", "✨"),
]
)
The text was updated successfully, but these errors were encountered:
Hello,
when I run the provided app everything works fine. When I try
basic example
and upload an image it shows up. However, when I call the same script by usingst_pages
only black background is displayed on the location where the image should be shown.To recreate the issue, I have an
app.py
andapp_draw.py
script. The first creates pages and the second calls the provided canvas example. As stated, this example does work in the sense that the canvas example application runs, but only black background is displayed on the location, where instead the image should be shown. Is there any workaround for it?The text was updated successfully, but these errors were encountered: