You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Influenza_fund_linkage_system/app_test/stream_app.py

33 lines
1.2 KiB

import requests
import streamlit as st
from st_pages import Page, Section, show_pages, add_page_title
from streamlit_echarts import st_echarts
# Either this or add_indentation() MUST be called on each page in your
# app to add indendation in the sidebar
add_page_title()
# Specify what pages shouldj, be shown in the sidebar, and what their titles and icons
# should be
show_pages(
[
Page("streamlit_app.py", "主页", "🏠"),
Page("other_pages/page2.py", "基金管理", "💼"),
Page("other_pages/page3.py", "基金预测", "🌟"),
# Page("other_pages/page4.py", "预测模型", "📈"),
Page("other_pages/page5.py", "基金推荐", "🏆"),
# Section("数据管理", "📊"),
Page("other_pages/page6.py", "模型训练数据", "📑"),
Page("other_pages/pre_processing.py", "数据预处理", "📈"),
Page("other_pages/correlation_graph.py", "相关性可视化", "📊"),
Page("other_pages/page7.py", "消息通知", "🔔"),
# Section("My section", icon="🎈️"),
# Pages after a section will be indented
# Page("Another page", icon="💪"),
# Unless you explicitly say in_section=False
# Page("Not in a section", in_section=False)
]
)