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