Hafizhzpa commited on
Commit
80ce6d3
1 Parent(s): 1a7e6e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -11,7 +11,6 @@ from bs4 import BeautifulSoup
11
  class NewsAnalytic():
12
  def __init__(self):
13
  self.classifier=self.load_model()
14
- @st.cache_resource
15
  def load_model(self):
16
  model = T5ForZeroShotClassification.from_pretrained('knowledgator/comprehend_it-multilingual-t5-base')
17
  tokenizer = T5Tokenizer.from_pretrained('knowledgator/comprehend_it-multilingual-t5-base')
 
11
  class NewsAnalytic():
12
  def __init__(self):
13
  self.classifier=self.load_model()
 
14
  def load_model(self):
15
  model = T5ForZeroShotClassification.from_pretrained('knowledgator/comprehend_it-multilingual-t5-base')
16
  tokenizer = T5Tokenizer.from_pretrained('knowledgator/comprehend_it-multilingual-t5-base')