Skip to content

Commit

Permalink
propietary print version
Browse files Browse the repository at this point in the history
  • Loading branch information
JimCHH authored Oct 31, 2022
1 parent 9649458 commit 84a67f6
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions PQC.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,9 @@
"source": [
"from google.colab import drive\n",
"drive.mount('/content/gdrive')\n",
"\n",
"!git clone https://github.com/neurobit-ai/livestream-blur-detection --quiet\n",
"%cd livestream-blur-detection\n",
"\n",
"print(\"主程式當前版本為\")\n",
"!git describe --tags"
"version = 'v0.10.7-20221028'\n",
"!git clone -b {version} https://github.com/neurobit-ai/livestream-blur-detection --quiet\n",
"%cd livestream-blur-detection\n"
]
},
{
Expand Down Expand Up @@ -133,7 +130,7 @@
"df = pd.read_csv(csvpath, skiprows = 4)\n",
"score_mean = df['檢測值'].mean()\n",
"verdict = '❌' if score_mean < 檢驗門檻 else '✅'\n",
"print(f'{產品型號}{產品序號} 在{檢測秒數}秒內平均檢測值 = {round(score_mean)}.\\n 檢驗門檻 = {檢驗門檻}, \\n 結果判斷為 {verdict}')\n",
"print(f'{產品型號}{產品序號} 在{檢測秒數}秒內平均檢測值 = {round(score_mean)}.\\n 檢驗門檻 = {檢驗門檻}, \\n 結果判斷為 {verdict} (版本 {version})')\n",
"\n",
"from IPython.display import Javascript\n",
"Javascript('removeDom();')"
Expand Down

0 comments on commit 84a67f6

Please sign in to comment.