Talha812 commited on
Commit
cd5f458
·
verified ·
1 Parent(s): de82f1d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ def create_faiss_index(chunks, vector_dim):
40
 
41
  # Initialize Groq API client
42
  def get_groq_client():
43
- return Groq(api_key="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")
44
 
45
  # Query Groq model
46
  def query_model(client, question):
 
40
 
41
  # Initialize Groq API client
42
  def get_groq_client():
43
+ return Groq(api_key=os.environ.get("GROQ_API_KEY"))
44
 
45
  # Query Groq model
46
  def query_model(client, question):