Spaces:
Running
Running
Fixed api key loading bug
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ from groq import Groq
|
|
2 |
import gradio as gr
|
3 |
import os
|
4 |
|
5 |
-
client = Groq(os.getenv("GROQ_API_KEY"))
|
6 |
|
7 |
conversation_history = []
|
8 |
|
|
|
2 |
import gradio as gr
|
3 |
import os
|
4 |
|
5 |
+
client = Groq(api_key=os.getenv("GROQ_API_KEY"))
|
6 |
|
7 |
conversation_history = []
|
8 |
|