ak2603 commited on
Commit
f1b7b9d
·
1 Parent(s): f8d688e

debug set_page_config

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -2,6 +2,8 @@ import streamlit as st
2
  from transformers import pipeline
3
  from llama import load_llama_model, generate_llama_summary, PROMPT_TEMPLATE
4
 
 
 
5
  @st.cache_resource
6
  def load_all_models():
7
  """Pre-load all models during app initialization"""
@@ -20,7 +22,6 @@ def load_all_models():
20
  models = load_all_models()
21
 
22
  # Streamlit UI Configuration
23
- st.set_page_config(page_title="Email Summarizer", layout="wide")
24
  st.title("📧 Automated Email Summarization")
25
 
26
  # Sidebar Controls
 
2
  from transformers import pipeline
3
  from llama import load_llama_model, generate_llama_summary, PROMPT_TEMPLATE
4
 
5
+ st.set_page_config(page_title="Email Summarizer", layout="wide")
6
+
7
  @st.cache_resource
8
  def load_all_models():
9
  """Pre-load all models during app initialization"""
 
22
  models = load_all_models()
23
 
24
  # Streamlit UI Configuration
 
25
  st.title("📧 Automated Email Summarization")
26
 
27
  # Sidebar Controls