Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
from groq import Groq
|
|
|
|
|
|
|
3 |
client = Groq(api_key = key)
|
4 |
|
5 |
def chat(message, history):
|
|
|
1 |
import gradio as gr
|
2 |
from groq import Groq
|
3 |
+
import os
|
4 |
+
|
5 |
+
key = os.getenv("groq")
|
6 |
client = Groq(api_key = key)
|
7 |
|
8 |
def chat(message, history):
|