olive100 commited on
Commit
7bb17c0
·
1 Parent(s): fe0cec1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
- pipe = pipeline("text-classification")
5
 
6
  def clf(text):
7
  result = pipe(text)
 
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
+ pipe = pipeline("text-classification","uer/roberta-base-finetuned-jd-binary-chinese")
5
 
6
  def clf(text):
7
  result = pipe(text)