Spaces:
Sleeping
Sleeping
Update app to allow adjustment of camera perspective
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ from tray_sim import run_tray_simulation
|
|
| 6 |
|
| 7 |
|
| 8 |
def simulate_and_render(seed: int):
|
| 9 |
-
gif_path = run_tray_simulation(seed)
|
| 10 |
return gif_path
|
| 11 |
|
| 12 |
iface = gr.Interface(
|
|
|
|
| 6 |
|
| 7 |
|
| 8 |
def simulate_and_render(seed: int):
|
| 9 |
+
gif_path = run_tray_simulation(seed, distance=0.5, azimuth=45, elevation=-30)
|
| 10 |
return gif_path
|
| 11 |
|
| 12 |
iface = gr.Interface(
|