Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,8 +2,8 @@ import streamlit as st
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
def summarize_text(text):
|
5 |
-
unmasker = pipeline('fill-mask', model='
|
6 |
-
text_input = unmasker(text
|
7 |
return text_input
|
8 |
|
9 |
def main():
|
|
|
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 |
|
9 |
def main():
|