wcyat commited on
Commit
cd55d80
·
verified ·
1 Parent(s): 92836c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from transformers import pipeline
3
 
4
  # Load pre-trained sentiment-analysis pipeline
5
- classifier = pipeline('text-classification', model="wcyat/bert-suicide-detection-hk-large")
6
 
7
  def classify_text(text):
8
  # Get predictions
 
2
  from transformers import pipeline
3
 
4
  # Load pre-trained sentiment-analysis pipeline
5
+ classifier = pipeline('text-classification', model="wcyat/bert-suicide-detection-hk-new")
6
 
7
  def classify_text(text):
8
  # Get predictions