Spaces:
Sleeping
Sleeping
wcy
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import json
|
|
| 3 |
import os
|
| 4 |
|
| 5 |
# 设置JSON文件的目录
|
| 6 |
-
JSON_DIR =
|
| 7 |
|
| 8 |
# 加载指定的JSON文件
|
| 9 |
def load_json(file_name):
|
|
@@ -45,7 +45,7 @@ def display_dict(data):
|
|
| 45 |
|
| 46 |
# 主程序
|
| 47 |
def main():
|
| 48 |
-
st.title("
|
| 49 |
|
| 50 |
# 获取文件列表
|
| 51 |
file_list = [f for f in os.listdir(JSON_DIR) if f.endswith(".json")]
|
|
|
|
| 3 |
import os
|
| 4 |
|
| 5 |
# 设置JSON文件的目录
|
| 6 |
+
JSON_DIR = 'table_result'
|
| 7 |
|
| 8 |
# 加载指定的JSON文件
|
| 9 |
def load_json(file_name):
|
|
|
|
| 45 |
|
| 46 |
# 主程序
|
| 47 |
def main():
|
| 48 |
+
st.title("Perturb For Table")
|
| 49 |
|
| 50 |
# 获取文件列表
|
| 51 |
file_list = [f for f in os.listdir(JSON_DIR) if f.endswith(".json")]
|