kushan98 commited on
Commit
9667a67
1 Parent(s): 8b19034

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
2
  from transformers import pipeline
3
 
4
  def summarize_text(text):
5
- unmasker = pipeline('fill-mask', model='casarf/comment_model_test')
6
  text_input = unmasker(text)
7
  return text_input
8
 
 
2
  from transformers import pipeline
3
 
4
  def summarize_text(text):
5
+ unmasker = pipeline("text-classification", model = "roberta-large-mnli")
6
  text_input = unmasker(text)
7
  return text_input
8