Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from groq import Groq
|
| 3 |
import os
|
| 4 |
-
from dotenv import
|
| 5 |
|
| 6 |
-
|
| 7 |
|
| 8 |
# Initialize the Groq client
|
| 9 |
client = Groq(api_key=os.getenv("API_KEY"))
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from groq import Groq
|
| 3 |
import os
|
| 4 |
+
from dotenv import load_dotenv
|
| 5 |
|
| 6 |
+
load_dotenv()
|
| 7 |
|
| 8 |
# Initialize the Groq client
|
| 9 |
client = Groq(api_key=os.getenv("API_KEY"))
|