NikhilSetiya commited on
Commit ·
812ff51
1
Parent(s): d7d97f6
Fix: Update image generation and clean config files
Browse files
agent.py
CHANGED
|
@@ -9,7 +9,7 @@ if not GROQ_API_KEY:
|
|
| 9 |
raise ValueError("GROQ_API_KEY is missing! Set it in Hugging Face Secrets.")
|
| 10 |
|
| 11 |
|
| 12 |
-
OPENAI_API_URL = "https://api.openai.com/v1/
|
| 13 |
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY") # Set this in Hugging Face Secrets
|
| 14 |
|
| 15 |
if not OPENAI_API_KEY:
|
|
|
|
| 9 |
raise ValueError("GROQ_API_KEY is missing! Set it in Hugging Face Secrets.")
|
| 10 |
|
| 11 |
|
| 12 |
+
OPENAI_API_URL = "https://api.openai.com/v1/images/generations"
|
| 13 |
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY") # Set this in Hugging Face Secrets
|
| 14 |
|
| 15 |
if not OPENAI_API_KEY:
|