Spaces:
Runtime error
Runtime error
rajeshradhakrishnan
commited on
Commit
•
731013e
1
Parent(s):
c93ba91
Changing the model org
Browse filesupdated the repo to hugginglearners
app.py
CHANGED
@@ -8,7 +8,7 @@ LABELS = Path('class_names.txt').read_text().splitlines()
|
|
8 |
|
9 |
|
10 |
def predict(news_headline):
|
11 |
-
learner = from_pretrained_fastai("
|
12 |
|
13 |
probabilities = learner.predict(news_headline)
|
14 |
|
|
|
8 |
|
9 |
|
10 |
def predict(news_headline):
|
11 |
+
learner = from_pretrained_fastai("hugginglearners/ml-news-classify-fastai")
|
12 |
|
13 |
probabilities = learner.predict(news_headline)
|
14 |
|