Nrnaidu commited on
Commit
0a16fc7
·
verified ·
1 Parent(s): b39fe4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -13,13 +13,13 @@ import io
13
  import time
14
 
15
  # Set up Groq API key
16
- api_key = os.getenv("GROQ_API_KEY")
17
  client = Groq(api_key=api_key)
18
 
19
  # Hugging Face API details for image generation
20
- H_key = os.getenv("Hugging_api_key")
21
  API_URL = "https://api-inference.huggingface.co/models/Artples/LAI-ImageGeneration-vSDXL-2"
22
- headers = {"Authorization": f"Bearer {H_key}"}
23
 
24
 
25
  # Function for querying image generation with retries
 
13
  import time
14
 
15
  # Set up Groq API key
16
+ api_key = os.getenv("grog_key")
17
  client = Groq(api_key=api_key)
18
 
19
  # Hugging Face API details for image generation
20
+ key = os.getenv("hf_key")
21
  API_URL = "https://api-inference.huggingface.co/models/Artples/LAI-ImageGeneration-vSDXL-2"
22
+ headers = {"Authorization": f"Bearer {key}"}
23
 
24
 
25
  # Function for querying image generation with retries