Poojashetty357 commited on
Commit
e766c67
·
verified ·
1 Parent(s): ec03ea4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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("groq")
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"