Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,6 +3,7 @@ import gradio as gr
|
|
| 3 |
from transformers import pipeline
|
| 4 |
|
| 5 |
auth_token = os.environ.get("access_token")
|
|
|
|
| 6 |
pipeline_en = pipeline(task="text-classification", model="MeiJuice/CheckGPT",
|
| 7 |
use_auth_token=auth_token)
|
| 8 |
pipeline_zh = pipeline(task="text-classification", model="MeiJuice/CheckGPT-Chinese",
|
|
|
|
| 3 |
from transformers import pipeline
|
| 4 |
|
| 5 |
auth_token = os.environ.get("access_token")
|
| 6 |
+
print(auth_token)
|
| 7 |
pipeline_en = pipeline(task="text-classification", model="MeiJuice/CheckGPT",
|
| 8 |
use_auth_token=auth_token)
|
| 9 |
pipeline_zh = pipeline(task="text-classification", model="MeiJuice/CheckGPT-Chinese",
|