AreesaAshfaq commited on
Commit
e6a001e
·
verified ·
1 Parent(s): 454d1ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -3
app.py CHANGED
@@ -21,6 +21,11 @@ if api_key_langchain:
21
  else:
22
  st.write("Please enter your LangChain API key.")
23
 
 
 
 
 
 
24
  # Prompt the user to enter their Groq API key
25
  api_key_Groq = st.text_input("Enter your Groq_API_KEY", type="password")
26
 
@@ -30,9 +35,9 @@ if api_key_Groq:
30
  st.write("Groq API Key is set.")
31
  else:
32
  st.write("Please enter your Groq API key.")
33
-
34
- # Initialize LangChain client (hypothetical example)
35
- #lc_client = Client(api_key=LANGCHAIN_API_KEY)
36
 
37
  GROQ_API_KEY = api_key_Groq
38
  from langchain_groq import ChatGroq
 
21
  else:
22
  st.write("Please enter your LangChain API key.")
23
 
24
+ # Initialize LangChain client (hypothetical example)
25
+ #lc_client = Client(api_key=LANGCHAIN_API_KEY)
26
+ lc = LangChain(api_key=api_key_langchain)
27
+
28
+
29
  # Prompt the user to enter their Groq API key
30
  api_key_Groq = st.text_input("Enter your Groq_API_KEY", type="password")
31
 
 
35
  st.write("Groq API Key is set.")
36
  else:
37
  st.write("Please enter your Groq API key.")
38
+
39
+
40
+
41
 
42
  GROQ_API_KEY = api_key_Groq
43
  from langchain_groq import ChatGroq