Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -118,8 +118,10 @@ 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\
|
|
|
122 |
if hasattr(tool_call.code_interpreter.outputs[0], "image"):
|
|
|
123 |
print(tool_call.code_interpreter.outputs[0].image.file_id)
|
124 |
print(tool_call.code_interpreter.outputs[0].image.type)
|
125 |
print("\n\n")
|
|
|
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")
|