Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,10 +4,10 @@ import os
|
|
4 |
import time # Import time module for implementing delay
|
5 |
|
6 |
# Fetch Hugging Face and Groq API keys from secrets
|
7 |
-
Transalate_token = os.getenv('
|
8 |
-
Image_Token = os.getenv('
|
9 |
-
Content_Token = os.getenv('
|
10 |
-
Image_prompt_token = os.getenv('
|
11 |
|
12 |
# API Headers
|
13 |
Translate = {"Authorization": f"Bearer {Transalate_token}"}
|
|
|
4 |
import time # Import time module for implementing delay
|
5 |
|
6 |
# Fetch Hugging Face and Groq API keys from secrets
|
7 |
+
Transalate_token = os.getenv('HUGGINGFACE_TOKEN')
|
8 |
+
Image_Token = os.getenv('HUGGINGFACE_TOKEN')
|
9 |
+
Content_Token = os.getenv('GROQ_API_KEY')
|
10 |
+
Image_prompt_token = os.getenv('GROQ_API_KEY')
|
11 |
|
12 |
# API Headers
|
13 |
Translate = {"Authorization": f"Bearer {Transalate_token}"}
|