itshiroto commited on
Commit
370acfa
1 Parent(s): ee6db97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
3
  from transformers import pipeline, BertTokenizer
4
 
5
  tokenizer = BertTokenizer.from_pretrained("indobenchmark/indobert-base-p1")
6
- classifier = pipeline(model="itshiroto/indobert-hoax-detection", tokenizer=tokenizer)
7
 
8
  def predict(prompt):
9
  completion = classifier(prompt)[0]
 
3
  from transformers import pipeline, BertTokenizer
4
 
5
  tokenizer = BertTokenizer.from_pretrained("indobenchmark/indobert-base-p1")
6
+ classifier = pipeline(model="umn-cyber/indobert-hoax", tokenizer=tokenizer)
7
 
8
  def predict(prompt):
9
  completion = classifier(prompt)[0]