Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
|
|
|
4 |
# Load the Hugging Face pipelines
|
5 |
classifier = pipeline("text-classification", model="bhadresh-savani/bert-base-go-emotion")
|
6 |
summarizer = pipeline("summarization", model="facebook/bart-large-cnn")
|
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
|
5 |
# Load the Hugging Face pipelines
|
6 |
classifier = pipeline("text-classification", model="bhadresh-savani/bert-base-go-emotion")
|
7 |
summarizer = pipeline("summarization", model="facebook/bart-large-cnn")
|