Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ Image_prompt_token = os.getenv('Prompt_generation')
|
|
11 |
# API Headers for external services (optional)
|
12 |
Image_generation = {"Authorization": f"Bearer {Image_Token}"}
|
13 |
Content_generation = {
|
14 |
-
"Authorization": f"Bearer {Content_Token}",
|
15 |
"Content-Type": "application/json"
|
16 |
}
|
17 |
Image_Prompt = {
|
|
|
11 |
# API Headers for external services (optional)
|
12 |
Image_generation = {"Authorization": f"Bearer {Image_Token}"}
|
13 |
Content_generation = {
|
14 |
+
"Authorization": f"Bearer {Content_Token.strip()}",
|
15 |
"Content-Type": "application/json"
|
16 |
}
|
17 |
Image_Prompt = {
|