Spaces:
Sleeping
Sleeping
abhisheksasidharanr
commited on
Commit
•
c16406d
1
Parent(s):
0870163
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ import os
|
|
17 |
import string
|
18 |
import random
|
19 |
|
20 |
-
pc = Pinecone( api_key="
|
21 |
index = pc.Index('example-index')
|
22 |
model = SentenceTransformer('all-mpnet-base-v2')
|
23 |
|
@@ -99,7 +99,7 @@ def getFinalResponse(user_question):
|
|
99 |
]
|
100 |
)
|
101 |
groq_chat = ChatGroq(
|
102 |
-
groq_api_key="
|
103 |
model_name="llama3-8b-8192"
|
104 |
)
|
105 |
conversation = LLMChain(
|
|
|
17 |
import string
|
18 |
import random
|
19 |
|
20 |
+
pc = Pinecone( api_key=st.secrets["PINE_CONE_KEY"])
|
21 |
index = pc.Index('example-index')
|
22 |
model = SentenceTransformer('all-mpnet-base-v2')
|
23 |
|
|
|
99 |
]
|
100 |
)
|
101 |
groq_chat = ChatGroq(
|
102 |
+
groq_api_key=st.secrets["GROQ_API_KEY"],
|
103 |
model_name="llama3-8b-8192"
|
104 |
)
|
105 |
conversation = LLMChain(
|