nickmuchi commited on
Commit
72152ff
·
verified ·
1 Parent(s): 568ccb5

Update functions.py

Browse files
Files changed (1) hide show
  1. functions.py +1 -1
functions.py CHANGED
@@ -167,7 +167,7 @@ def get_podcast_guest(podcast_transcript):
167
 
168
  if response_message:
169
 
170
- function_name = response_message["name"]
171
  function_args = json.loads(response_message["arguments"])
172
  podcast_guest=function_args.get("guest_name")
173
  podcast_guest_org=function_args.get("guest_organization")
 
167
 
168
  if response_message:
169
 
170
+ function_name = response_message.name
171
  function_args = json.loads(response_message["arguments"])
172
  podcast_guest=function_args.get("guest_name")
173
  podcast_guest_org=function_args.get("guest_organization")