Spaces:
Running
Running
Commit
•
e95a739
1
Parent(s):
303f68d
Update app.py
Browse files
app.py
CHANGED
@@ -3,11 +3,9 @@ from groq import Groq
|
|
3 |
import gradio as gr
|
4 |
import streamlit as st
|
5 |
|
6 |
-
client = Groq(
|
7 |
-
|
8 |
-
)
|
9 |
|
10 |
-
#api_key = os.environ.get("GROQ_API_KEY")
|
11 |
|
12 |
system_prompt = {
|
13 |
"role": "system",
|
|
|
3 |
import gradio as gr
|
4 |
import streamlit as st
|
5 |
|
6 |
+
# client = Groq(api_key=st.secrets["GROQ_API_KEY"], )
|
7 |
+
client = Groq(api_key = os.environ.get("GROQ_API_KEY"), )
|
|
|
8 |
|
|
|
9 |
|
10 |
system_prompt = {
|
11 |
"role": "system",
|