Spaces:
showme
/
Running

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

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="PirateXX/AI-Content-Detector")
10
 
11
  # 定义请求体的格式
12
  class TextRequest(BaseModel):
 
6
  app = FastAPI()
7
 
8
  # 加载预训练模型
9
+ sentiment_model = pipeline("text-classification", model="SuperAnnotate/ai-detector")
10
 
11
  # 定义请求体的格式
12
  class TextRequest(BaseModel):