tarrasyed19472007 commited on
Commit
209e926
·
verified ·
1 Parent(s): 655bf69

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 AutoTokenizer, AutoModelForSequenceClassification
3
  from transformers import pipeline
4
 
5
- # Set page configuration - MUST be the first command
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