seansullivan commited on
Commit
84bbe9a
1 Parent(s): e9c6422

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -9,7 +9,6 @@ from langchain_core.output_parsers import StrOutputParser
9
  from langchain_core.prompts import ChatPromptTemplate
10
  from langchain_core.runnables import RunnableParallel, RunnablePassthrough
11
  from langchain_openai import ChatOpenAI
12
- from langchain_community.chat_models.fireworks import ChatFireworks
13
  from langchain_groq import ChatGroq
14
  from langchain_core.messages import AIMessage, HumanMessage, get_buffer_string
15
  from langchain.memory import ConversationBufferMemory
@@ -17,13 +16,11 @@ from langchain_core.runnables import RunnableLambda
17
  from operator import itemgetter
18
 
19
  # Streamlit App Configuration
20
- st.set_page_config(page_title="Docu-Help", page_icon="🟩")
21
- st.markdown("<h1 style='text-align: center;'>Ask away:</h1>", unsafe_allow_html=True)
22
 
23
  # Read API keys from environment variables
24
  OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
25
  PINE_API_KEY = os.getenv("PINE_API_KEY")
26
- FIREWORKS_API_KEY = os.getenv("FIREWORKS_API_KEY")
27
  LANGCHAIN_API_KEY = os.getenv("LANGCHAIN_API_KEY")
28
  LANGCHAIN_TRACING_V2 = 'true'
29
  LANGCHAIN_ENDPOINT = "https://api.smith.langchain.com"
 
9
  from langchain_core.prompts import ChatPromptTemplate
10
  from langchain_core.runnables import RunnableParallel, RunnablePassthrough
11
  from langchain_openai import ChatOpenAI
 
12
  from langchain_groq import ChatGroq
13
  from langchain_core.messages import AIMessage, HumanMessage, get_buffer_string
14
  from langchain.memory import ConversationBufferMemory
 
16
  from operator import itemgetter
17
 
18
  # Streamlit App Configuration
19
+ st.set_page_config(page_title="Docu-Help")
 
20
 
21
  # Read API keys from environment variables
22
  OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
23
  PINE_API_KEY = os.getenv("PINE_API_KEY")
 
24
  LANGCHAIN_API_KEY = os.getenv("LANGCHAIN_API_KEY")
25
  LANGCHAIN_TRACING_V2 = 'true'
26
  LANGCHAIN_ENDPOINT = "https://api.smith.langchain.com"