liuyuqi-dellpc 1 year ago
parent
commit
b610ea553f
1 changed files with 17 additions and 9 deletions
  1. 17 9
      demo2/app.py

+ 17 - 9
demo2/app.py

@@ -1,17 +1,21 @@
+#!/usr/bin/env python
+# -*- encoding: utf-8 -*-
+'''
+@Contact :   liuyuqi.gov@msn.cn
+@Time    :   2024/03/28 02:01:09
+@License :   Copyright © 2017-2022 liuyuqi. All Rights Reserved.
+@Desc    :   
+'''
+
 from datetime import datetime
 from numpy import empty, not_equal
+
 import streamlit as st
+import streamlit.components.v1 as components
+
 import time
 import pandas as pd
 import numpy as np
-import streamlit.components.v1 as components
-
-#页面设置
-about_message = '''
-# About
-## testing!
-:smile:
-'''
 
 st.set_page_config(
      page_title="Streamlit example",
@@ -21,7 +25,11 @@ st.set_page_config(
      menu_items={
          'Get Help': 'https://www.baidu.com/',
          'Report a bug': None,
-         'About': about_message
+         'About': '''
+# About
+## testing!
+:smile:
+'''
      }
  )