Spaces:
Running
Running
Update method to fetch API key
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
from groq import Groq
|
2 |
import gradio as gr
|
3 |
|
4 |
-
client = Groq(
|
5 |
|
6 |
conversation_history = []
|
7 |
|
|
|
1 |
from groq import Groq
|
2 |
import gradio as gr
|
3 |
|
4 |
+
client = Groq(os.getenv("GROQ_API_KEY"))
|
5 |
|
6 |
conversation_history = []
|
7 |
|