rahbi commited on
Commit
2a53a2b
·
verified ·
1 Parent(s): 9544fba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -4,6 +4,7 @@ from transformers import pipeline
4
  # Initialize the classifier pipeline
5
  classifier = pipeline("text-classification", model="rahbi/alclam-base-v2-DID")
6
 
 
7
  # Define the prediction function
8
  def classify_text(text):
9
  result = classifier(text)
 
4
  # Initialize the classifier pipeline
5
  classifier = pipeline("text-classification", model="rahbi/alclam-base-v2-DID")
6
 
7
+
8
  # Define the prediction function
9
  def classify_text(text):
10
  result = classifier(text)