Spaces:
Build error
Build error
Update agents.py
Browse files
agents.py
CHANGED
|
@@ -20,7 +20,7 @@ client = Groq(
|
|
| 20 |
|
| 21 |
class ContentAgents:
|
| 22 |
def __init__(self):
|
| 23 |
-
self.llm = client(api_key=groq_api_key, model_name="llama3-8b-8192")
|
| 24 |
self.image_generator = ImageGenerationTools()
|
| 25 |
|
| 26 |
def generate_image_for_section(self, section_title, topic):
|
|
|
|
| 20 |
|
| 21 |
class ContentAgents:
|
| 22 |
def __init__(self):
|
| 23 |
+
self.llm = client(api_key=os.environ.get("groq_api_key"), model_name="llama3-8b-8192")
|
| 24 |
self.image_generator = ImageGenerationTools()
|
| 25 |
|
| 26 |
def generate_image_for_section(self, section_title, topic):
|