Spaces:
Running
Running
Update app.py
Browse files
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)
|