Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def invoke(openai_api_key, prompt):
|
|
41 |
|
42 |
completion = agent(prompt)
|
43 |
|
44 |
-
output = completion
|
45 |
except Exception as e:
|
46 |
err_msg = e
|
47 |
|
|
|
41 |
|
42 |
completion = agent(prompt)
|
43 |
|
44 |
+
output = completion["output"]
|
45 |
except Exception as e:
|
46 |
err_msg = e
|
47 |
|