bstraehle commited on
Commit
5687e57
·
1 Parent(s): f8bbfe3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def invoke(openai_api_key, prompt):
41
 
42
  completion = agent(prompt)
43
 
44
- output = completion.output
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