juancopi81 commited on
Commit
4a77e53
1 Parent(s): ec49feb

Log GPT response

Browse files
Files changed (1) hide show
  1. textprocessor.py +1 -0
textprocessor.py CHANGED
@@ -45,6 +45,7 @@ class TextProcessor:
45
  frequency_penalty=self.frequency_penalty,
46
  presence_penalty=self.presence_penalty
47
  )
 
48
  scenes = json.loads(response["choices"][0]["text"])
49
  print("scenes", scenes)
50
  if (type(scenes) == list):
 
45
  frequency_penalty=self.frequency_penalty,
46
  presence_penalty=self.presence_penalty
47
  )
48
+ print("GPT response", response)
49
  scenes = json.loads(response["choices"][0]["text"])
50
  print("scenes", scenes)
51
  if (type(scenes) == list):