wcyat commited on
Commit
92836c7
1 Parent(s): 9bfb23d

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")
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-large")
6
 
7
  def classify_text(text):
8
  # Get predictions