Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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('
|
7 |
-
Image_Token = os.getenv('
|
8 |
-
Content_Token = os.getenv('
|
9 |
-
Image_prompt_token = os.getenv('
|
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}"}
|