Change camera's perspective default values
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ os.environ["MUJOCO_GL"] = "osmesa" # or "egl" if you switch to EGL support
|
|
| 4 |
import gradio as gr
|
| 5 |
from tray_sim import run_tray_simulation
|
| 6 |
|
| 7 |
-
def simulate_and_render(seed: int, azimuth: float=
|
| 8 |
gif_path = run_tray_simulation(seed=seed, azimuth=azimuth, elevation=elevation, distance=distance)
|
| 9 |
return gif_path
|
| 10 |
|
|
|
|
| 4 |
import gradio as gr
|
| 5 |
from tray_sim import run_tray_simulation
|
| 6 |
|
| 7 |
+
def simulate_and_render(seed: int, azimuth: float=55, elevation: float=-20, distance: float=1.0):
|
| 8 |
gif_path = run_tray_simulation(seed=seed, azimuth=azimuth, elevation=elevation, distance=distance)
|
| 9 |
return gif_path
|
| 10 |
|