Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldWaterFall committed Jan 31, 2024
1 parent 97b5783 commit 2aec8c2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .ci/gpt_prompt_stat.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import json
import matplotlib.pyplot as plt
import os
import shutil
'''
# @author : Shiqiding
# @description: 统计gpt prompt
Expand Down Expand Up @@ -67,5 +68,9 @@
# 保存为 PNG 图片文件
plt.savefig('gpt_prompt_statistics.png', bbox_inches='tight')


shutil.move('gpt_prompt_statistics.png', '.ci/gpt_prompt_statistics.png')


# 显示图形
plt.show()
3 changes: 3 additions & 0 deletions .ci/yiyan_prompt_stat.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import json
import matplotlib.pyplot as plt
import os
import shutil
'''
# @author : Shiqiding
# @description: 统计yiyan prompt
Expand Down Expand Up @@ -68,5 +69,7 @@
# 保存为 PNG 图片文件
plt.savefig('yiyan_prompt_statistics.png', bbox_inches='tight')

shutil.move('yiyan_prompt_statistics.png', '.ci/yiyan_prompt_statistics.png')

# 显示图形
plt.show()

0 comments on commit 2aec8c2

Please sign in to comment.