Spaces:
Sleeping
Sleeping
ae5115242430e13
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,10 @@ import os
|
|
2 |
from groq import Groq
|
3 |
import gradio as gr
|
4 |
import logging
|
|
|
|
|
|
|
|
|
5 |
|
6 |
# Set up logging configuration
|
7 |
logging.basicConfig(level=logging.DEBUG)
|
|
|
2 |
from groq import Groq
|
3 |
import gradio as gr
|
4 |
import logging
|
5 |
+
from groq import Groq
|
6 |
+
os.environ["GROQ_API_KEY"] = "c5417d24599246a4845e0aefba9a596f"
|
7 |
+
|
8 |
+
client = Groq(api_key=os.environ["GROQ_API_KEY"])
|
9 |
|
10 |
# Set up logging configuration
|
11 |
logging.basicConfig(level=logging.DEBUG)
|