AreesaAshfaq commited on
Commit
163ac33
·
verified ·
1 Parent(s): 63dc173

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -29,6 +29,7 @@ else:
29
  #lc = LangChain(api_key=api_key_langchain)
30
 
31
 
 
32
  # Prompt the user to enter their Groq API key
33
  api_key_Groq = st.text_input("Enter your Groq_API_KEY", type="password")
34
 
@@ -41,11 +42,9 @@ else:
41
 
42
 
43
 
44
-
45
- GROQ_API_KEY = api_key_Groq
46
  from langchain_groq import ChatGroq
47
 
48
- llm = ChatGroq(model="llama3-8b-8192")
49
 
50
  # Define the embedding class
51
  class SentenceTransformerEmbedding:
 
29
  #lc = LangChain(api_key=api_key_langchain)
30
 
31
 
32
+
33
  # Prompt the user to enter their Groq API key
34
  api_key_Groq = st.text_input("Enter your Groq_API_KEY", type="password")
35
 
 
42
 
43
 
44
 
 
 
45
  from langchain_groq import ChatGroq
46
 
47
+ llm = ChatGroq(model="llama3-8b-8192", , groq_api_key = api_key_Groq)
48
 
49
  # Define the embedding class
50
  class SentenceTransformerEmbedding: