Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ def handle_input(user_prompt, image=None, audio=None, websearch=False):
|
|
99 |
FunctionTool.from_defaults(fn=image_generation, name="Image Generation"),
|
100 |
]
|
101 |
|
102 |
-
llm = Groq(
|
103 |
agent = ReActAgent.from_tools(tools, llm=llm, verbose=True)
|
104 |
|
105 |
if image:
|
|
|
99 |
FunctionTool.from_defaults(fn=image_generation, name="Image Generation"),
|
100 |
]
|
101 |
|
102 |
+
llm = Groq(model=MODEL, api_key=os.environ.get("GROQ_API_KEY"))
|
103 |
agent = ReActAgent.from_tools(tools, llm=llm, verbose=True)
|
104 |
|
105 |
if image:
|