Comment out print statement
Browse files- tray_sim.py +2 -1
tray_sim.py
CHANGED
|
@@ -259,12 +259,13 @@ def run_tray_simulation(seed=0, num_objects=N_OBJECTS, azimuth=45, elevation=-25
|
|
| 259 |
# formatted,
|
| 260 |
# task_description="Explain which objects are likely to fall if the tray is tilted slightly to the right."
|
| 261 |
#)
|
| 262 |
-
print(prompt)
|
| 263 |
|
| 264 |
|
| 265 |
# Save to GIF
|
| 266 |
gif_path = os.path.join(tempfile.gettempdir(), f"tray_sim_{seed}.gif")
|
| 267 |
imageio.mimsave(gif_path, frames, fps=20)
|
|
|
|
| 268 |
#return gif_path
|
| 269 |
#return gif_path, stability_flags
|
| 270 |
#return gif_path, stability_flags, physics_state # optionally also return json_path
|
|
|
|
| 259 |
# formatted,
|
| 260 |
# task_description="Explain which objects are likely to fall if the tray is tilted slightly to the right."
|
| 261 |
#)
|
| 262 |
+
#print(prompt)
|
| 263 |
|
| 264 |
|
| 265 |
# Save to GIF
|
| 266 |
gif_path = os.path.join(tempfile.gettempdir(), f"tray_sim_{seed}.gif")
|
| 267 |
imageio.mimsave(gif_path, frames, fps=20)
|
| 268 |
+
|
| 269 |
#return gif_path
|
| 270 |
#return gif_path, stability_flags
|
| 271 |
#return gif_path, stability_flags, physics_state # optionally also return json_path
|