Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -241,8 +241,6 @@ def main():
|
|
| 241 |
|
| 242 |
# Gradio UI setup
|
| 243 |
with gr.Blocks() as demo:
|
| 244 |
-
st.set_page_config(page_title="Emotion Detection and Well-Being Suggestions", layout="wide")
|
| 245 |
-
|
| 246 |
# Load pre-trained model and tokenizer
|
| 247 |
@gr.cache_resource
|
| 248 |
def load_model():
|
|
@@ -316,4 +314,4 @@ with gr.Blocks() as demo:
|
|
| 316 |
fetch_button.click(fetch_data, inputs=None, outputs=data_output)
|
| 317 |
|
| 318 |
# Launch Gradio interface
|
| 319 |
-
demo.launch()
|
|
|
|
| 241 |
|
| 242 |
# Gradio UI setup
|
| 243 |
with gr.Blocks() as demo:
|
|
|
|
|
|
|
| 244 |
# Load pre-trained model and tokenizer
|
| 245 |
@gr.cache_resource
|
| 246 |
def load_model():
|
|
|
|
| 314 |
fetch_button.click(fetch_data, inputs=None, outputs=data_output)
|
| 315 |
|
| 316 |
# Launch Gradio interface
|
| 317 |
+
demo.launch(debug=True)
|