Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
|
|
2 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
3 |
from transformers import pipeline
|
4 |
|
5 |
-
#
|
6 |
st.set_page_config(page_title="Emotion Detection and Well-Being Suggestions", layout="wide")
|
7 |
|
8 |
# Load pre-trained model and tokenizer
|
|
|
2 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
3 |
from transformers import pipeline
|
4 |
|
5 |
+
# Ensure this is the first Streamlit command
|
6 |
st.set_page_config(page_title="Emotion Detection and Well-Being Suggestions", layout="wide")
|
7 |
|
8 |
# Load pre-trained model and tokenizer
|