Pratham0409 commited on
Commit
9aebba0
·
verified ·
1 Parent(s): c28b7c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from transformers import pipeline
3
 
4
  # Load the AI detection model pipeline from Hugging Face
5
  # We're using a well-regarded RoBERTa-based model for this task.
6
- pipe = pipeline("text-classification", model="michellejieli/roberta-base-openai-detector")
7
 
8
  def detect_ai_text(text):
9
  """
 
3
 
4
  # Load the AI detection model pipeline from Hugging Face
5
  # We're using a well-regarded RoBERTa-based model for this task.
6
+ pipe = pipeline("text-classification", model="openai-community/roberta-base-openai-detector")
7
 
8
  def detect_ai_text(text):
9
  """