File size: 637 Bytes
b966bc9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/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()