Spaces:
showme
/
Running

showme commited on
Commit
a922cbb
·
verified ·
1 Parent(s): 229bd35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from transformers import pipeline
6
  app = FastAPI()
7
 
8
  # 加载预训练模型
9
- sentiment_model = pipeline("text-classification", model="Hello-SimpleAI/chatgpt-detector-roberta")
10
 
11
  # 定义请求体的格式
12
  class TextRequest(BaseModel):
 
6
  app = FastAPI()
7
 
8
  # 加载预训练模型
9
+ sentiment_model = pipeline("text-classification", model="PirateXX/AI-Content-Detector")
10
 
11
  # 定义请求体的格式
12
  class TextRequest(BaseModel):