增加效果 缓存settings

This commit is contained in:
leo
2023-12-31 18:35:26 +08:00
parent 44ef312811
commit 2f90a83737
3 changed files with 26 additions and 17 deletions

10
pages/first_demo.py Normal file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
import streamlit as st
st.write('# Hello World!')
st.link_button("Go to gallery", "https://streamlit.io/gallery")
for i in range(5):
st.write(f"{i + 1}. this is line {i + 1}")

View File

@@ -1,8 +0,0 @@
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
import streamlit as st
st.write('Hello World!')
for i in range(1, 13):
st.write(f"{i}. this is line {i}")