bstraehle commited on
Commit
839cbdb
1 Parent(s): 42e5bf7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -121,6 +121,9 @@ def get_run_step_details(run_steps):
121
  if hasattr(tool_call.code_interpreter.outputs[0], "image"):
122
  print("\n222")
123
  file_id = tool_call.code_interpreter.outputs[0].image.file_id
 
 
 
124
  content = client.files.content(file_id)
125
  print(content)
126
  return content
 
121
  if hasattr(tool_call.code_interpreter.outputs[0], "image"):
122
  print("\n222")
123
  file_id = tool_call.code_interpreter.outputs[0].image.file_id
124
+ print(file_id)
125
+ file = client.files.retrieve(file_id)
126
+ print(file)
127
  content = client.files.content(file_id)
128
  print(content)
129
  return content