Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
|
| 2 |
import joblib
|
| 3 |
import numpy as np
|
| 4 |
import re
|
|
@@ -89,13 +89,13 @@ demo = gr.Interface(
|
|
| 89 |
description="上傳的模型為 .pkl 格式,根據語言特徵分析並判斷文本來源"
|
| 90 |
)
|
| 91 |
|
| 92 |
-
demo.launch()
|
| 93 |
|
| 94 |
|
| 95 |
|
| 96 |
|
| 97 |
|
| 98 |
-
import gradio as gr
|
| 99 |
import tensorflow as tf
|
| 100 |
import pickle
|
| 101 |
|
|
@@ -202,4 +202,4 @@ iface = gr.Interface(
|
|
| 202 |
description="輸入文章,模型會判斷是 AI 或人類撰寫,並給出機率與判斷依據"
|
| 203 |
)
|
| 204 |
|
| 205 |
-
iface.launch()
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
import joblib
|
| 3 |
import numpy as np
|
| 4 |
import re
|
|
|
|
| 89 |
description="上傳的模型為 .pkl 格式,根據語言特徵分析並判斷文本來源"
|
| 90 |
)
|
| 91 |
|
| 92 |
+
demo.launch()
|
| 93 |
|
| 94 |
|
| 95 |
|
| 96 |
|
| 97 |
|
| 98 |
+
'''import gradio as gr
|
| 99 |
import tensorflow as tf
|
| 100 |
import pickle
|
| 101 |
|
|
|
|
| 202 |
description="輸入文章,模型會判斷是 AI 或人類撰寫,並給出機率與判斷依據"
|
| 203 |
)
|
| 204 |
|
| 205 |
+
iface.launch()'''
|