Dav
February 23, 2023, 10:39am
1
Hello,
Thank you for the great tool!
I build a digital cv with streamlit. In it, I would like to insert links to redirect to my different streamlit projects.
My resume is the app.py, and the projects are in a projects folder.
|- projects
| |- project1.py
| |- project2.py
|
|- app.py
When I try to href to the different project, I get a blank page
PROJECTS = {
“ MOH- Detector”: “projects/project1.py”,
“ MOH- Detector”: “projects/project2.py”,
}
for project, link in PROJECTS.items():
st.write(f"{project} ")
Could you help me please?
Than you!
The simplest thing is for you to put you other apps in a pages folder instead of projects so Streamlit can recognize them as other pages in your app.
Streamlit doesn’t operate like a simple webhost; for the user, they can’t navigate directly to the things in your working directory.
You can customize how the navigation menu looks a little bit with st-pages:
I love multipage apps, but don’t really prefer having to move/rename files in order to change their name, order or icon in the sidebar. I especially don’t like adding emojis to filenames.
I’ve been doing a number of experiments about different ways multipage apps could work differently, and have combined some of those into a new package st-pages.
[image]
Example usage:
from st_pages import Page, show_pages, add_page_title
# Optional -- adds the title and icon to the current page
add_page_t…
2 Likes
Dav
February 24, 2023, 11:18am
3
Thank you very much for your answer.
It’s seems the only way.
I didn’t want navigation menu, because it’s a bit messy to display it in a resume. May be with some customizing it will be better
Again Thank You!
Best,
David
Goyo
February 24, 2023, 11:44am
4
Another way would be deploying each project as an independent application.
Dav
February 25, 2023, 5:14pm
5
It could be a solution if I had only one project but for my resume + 3 projects, it’s mean take 4 different domains.
Goyo
February 25, 2023, 11:01pm
6
Streamlit Cloud gives you that for free but I don’t know what your options are with other providers.
Dav
February 26, 2023, 7:42am
7
I didn’t know that.
I’ll check Thank you! It could be a great alternative
system
Closed
August 2, 2023, 6:37am
8
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.