增加效果 缓存settings
This commit is contained in:
10
pages/first_demo.py
Normal file
10
pages/first_demo.py
Normal 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}")
|
||||
@@ -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}")
|
||||
Reference in New Issue
Block a user