bstraehle commited on
Commit
99e3bfa
1 Parent(s): 4171b11

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -118,12 +118,9 @@ def get_run_step_details(run_steps):
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\n111")
122
- print(tool_call.code_interpreter.outputs[0])
123
  if hasattr(tool_call.code_interpreter.outputs[0], "image"):
124
- print("\n\222")
125
  print(tool_call.code_interpreter.outputs[0].image.file_id)
126
- print(tool_call.code_interpreter.outputs[0].image.type)
127
  print("\n\n")
128
 
129
  def get_messages(client, thread):
 
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
  if hasattr(tool_call.code_interpreter.outputs[0], "image"):
122
+ print("\n222")
123
  print(tool_call.code_interpreter.outputs[0].image.file_id)
 
124
  print("\n\n")
125
 
126
  def get_messages(client, thread):