Fri Jun 2 02:25:00 UTC 2023 inscode

上级 c3fb3b3a
......@@ -91,19 +91,7 @@ def get_emails(username, password):
def main():
print("InsCode AI Email Robots!")
from streamlit.server import Server
server = Server.get_current()
def run_streamlit_app():
server._session_info = None
server.run_forever()
st_button = st.button('运行 Streamlit 应用程序')
if st_button:
run_streamlit_app()
get_emails("yubangxu85@126.com", "KWQKXPUEDEBJTJHO")
get_emails("yubangxu85@126.com", "KWQKXPUEDEBJTJHO")
......@@ -111,6 +99,6 @@ def main():
if __name__ == "__main__":
main()
import subprocess
subprocess.run(["streamlit", "run", "ui.py"])
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册