ChijoTheDatascientist commited on
Commit
526fc48
1 Parent(s): 39ec79e

Putting app setting cofiguration as first command

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -4,6 +4,9 @@ from huggingface_hub import InferenceClient
4
  import streamlit as st
5
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
6
 
 
 
 
7
  # Load HF_TOKEN securely
8
  hf_token = os.getenv("HF_TOKEN")
9
 
@@ -65,7 +68,6 @@ def generate_response(system_message, user_input, chat_history, max_new_tokens=1
65
 
66
 
67
  # App configuration
68
- st.set_page_config(page_title="Insight Snap & Summarizer")
69
  st.title("Insight Snap & Summarizer")
70
 
71
  st.markdown("""
 
4
  import streamlit as st
5
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
6
 
7
+ # Streamlit page configuration
8
+ st.set_page_config(page_title="Insight Snap & Summarizer")
9
+
10
  # Load HF_TOKEN securely
11
  hf_token = os.getenv("HF_TOKEN")
12
 
 
68
 
69
 
70
  # App configuration
 
71
  st.title("Insight Snap & Summarizer")
72
 
73
  st.markdown("""