Skip to content

Commit

Permalink
统计
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldWaterFall committed Jan 30, 2024
1 parent 92cb5a0 commit f8f1220
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .ci/yiyan_prompt_stat.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import matplotlib.pyplot as plt
import os

#all_yiyan_json_path = os.environ.get('all_yiyan_json')
all_yiyan_json_path=r'C:\Users\yhd\PycharmProjects\TianjiOrignal\tianji\prompt\yiyan_prompt\all_yiyan_prompt.json'
all_yiyan_json_path = os.environ.get('all_yiyan_json')
#all_yiyan_json_path=r'C:\Users\yhd\PycharmProjects\TianjiOrignal\tianji\prompt\yiyan_prompt\all_yiyan_prompt.json'
# 打开 JSON 文本文件并加载数据
with open(all_yiyan_json_path, 'r', encoding='utf-8') as file:
data = json.load(file)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
all_gpt_json: 'tianji/prompt/gpt_prompt/all_gpt_prompt.json'
run : python .ci/gpt_prompt_stat.py
mv gpt_prompt_statistics.png .ci/gpt_prompt_statistics.png

- name: upload gpt png
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit f8f1220

Please sign in to comment.