Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import os
|
|
3 |
import requests
|
4 |
import gradio as gr
|
5 |
#Retrieve the API key from the environment variable
|
6 |
-
groq_api_key = os.getenv("
|
7 |
|
8 |
# Define the URL for the Groq API endpoint
|
9 |
url = "https://api.groq.com/openai/v1/chat/completions"
|
|
|
3 |
import requests
|
4 |
import gradio as gr
|
5 |
#Retrieve the API key from the environment variable
|
6 |
+
groq_api_key = os.getenv("GROQ_API_KEY")
|
7 |
|
8 |
# Define the URL for the Groq API endpoint
|
9 |
url = "https://api.groq.com/openai/v1/chat/completions"
|