anuroopageorge commited on
Commit
5902f9c
·
verified ·
1 Parent(s): 80f689b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -38,9 +38,9 @@ def classify_educational_article(text: str) -> int:
38
  """
39
  Classifier for judging the educational value of web pages.
40
  Args:
41
- article_text: The content of the news article to be classified.
42
  Returns:
43
- str: This function will output a dictionary with the input text, the predicted score, and an integer score between 0 and 5
44
  """
45
  from transformers import pipeline
46
  # Perform classification
 
38
  """
39
  Classifier for judging the educational value of web pages.
40
  Args:
41
+ text: The content of the educational article to be classified.
42
  Returns:
43
+ int: This function will output a dictionary with the input text, the predicted score, and an integer score between 0 and 5
44
  """
45
  from transformers import pipeline
46
  # Perform classification