Nice / pages /112_๐Ÿ“š_็ฎ€ๅ•็š„้…็ฝฎ็•Œ้ข.py
betterme
update
b966bc9
raw
history blame
637 Bytes
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Project : Python.
# @File : 111_๐Ÿ“š_PDF็ฎ€ๅ•่กจๆ ผๆๅ–
# @Time : 2022/11/3 ไธ‹ๅˆ6:09
# @Author : yuanjie
# @WeChat : meutils
# @Software : PyCharm
# @Description :
from appzoo.streamlit_app import Page
import streamlit as st
from meutils.pipe import *
from meutils.path_utils import file2json
class MyPage(Page):
def main(self):
cfg = file2json(get_resolve_path('../data/config.yml', __file__) )
st.json(cfg)
if __name__ == '__main__':
app_title = "# ้…็ฝฎ"
MyPage(app_title=app_title, layout='wide').main()