Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=
|
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 = [
|