Santhosh54321 commited on
Commit
5da3f27
·
verified ·
1 Parent(s): 4e6539a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -3,10 +3,10 @@ import requests
3
  import os
4
 
5
  # Fetch Hugging Face and Groq API keys from secrets
6
- Transalate_token = os.getenv('Translate')
7
- Image_Token = os.getenv('Image_generation')
8
- Content_Token = os.getenv('ContentGeneration')
9
- Image_prompt_token = os.getenv('Prompt_generation')
10
 
11
  # API Headers
12
  Translate = {"Authorization": f"Bearer {Transalate_token}"}
 
3
  import os
4
 
5
  # Fetch Hugging Face and Groq API keys from secrets
6
+ Transalate_token = os.getenv('HUGGINGFACE_TOKEN')
7
+ Image_Token = os.getenv('HUGGINGFACE_TOKEN')
8
+ Content_Token = os.getenv('GROQ_API_KEY')
9
+ Image_prompt_token = os.getenv('GROQ_API_KEY')
10
 
11
  # API Headers
12
  Translate = {"Authorization": f"Bearer {Transalate_token}"}