Afeezee commited on
Commit
9086240
·
verified ·
1 Parent(s): 8b09894

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1,8 +1,11 @@
1
  import gradio as gr
2
  from groq import Groq
 
 
 
3
 
4
  # Initialize the Groq client with the API key
5
- client = Groq(api_key="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")
6
 
7
  # List to maintain the conversation history, starting with a default prompt
8
  conversation_history = [
 
1
  import gradio as gr
2
  from groq import Groq
3
+ import os
4
+
5
+ api_key = os.getenv("KnowledgeQuest")
6
 
7
  # Initialize the Groq client with the API key
8
+ client = Groq(api_key= api_key)
9
 
10
  # List to maintain the conversation history, starting with a default prompt
11
  conversation_history = [