bstraehle commited on
Commit
a2e417d
1 Parent(s): 9f3cdd9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -119,8 +119,8 @@ def get_run_step_details(run_steps):
119
  # [CodeInterpreterOutputImage(image=CodeInterpreterOutputImageImage(file_id='file-qmr1d6ObICSjyGvmoncXvBPj'), type='image')]
120
  if len(tool_call.code_interpreter.outputs) > 0:
121
  print("\n\n")
122
- print(tool_call.code_interpreter.outputs[0].file_id)
123
- print(tool_call.code_interpreter.outputs[0].type)
124
  print("\n\n")
125
 
126
  def get_messages(client, thread):
 
119
  # [CodeInterpreterOutputImage(image=CodeInterpreterOutputImageImage(file_id='file-qmr1d6ObICSjyGvmoncXvBPj'), type='image')]
120
  if len(tool_call.code_interpreter.outputs) > 0:
121
  print("\n\n")
122
+ print(tool_call.code_interpreter.outputs[0]["file_id"])
123
+ print(tool_call.code_interpreter.outputs[0]["type"])
124
  print("\n\n")
125
 
126
  def get_messages(client, thread):