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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -117,7 +117,7 @@ def get_run_step_details(run_steps):
117
  if hasattr(tool_call.code_interpreter, "outputs"):
118
  print(tool_call.code_interpreter.outputs)
119
  # [CodeInterpreterOutputImage(image=CodeInterpreterOutputImageImage(file_id='file-qmr1d6ObICSjyGvmoncXvBPj'), type='image')]
120
- if len(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)
 
117
  if hasattr(tool_call.code_interpreter, "outputs"):
118
  print(tool_call.code_interpreter.outputs)
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)