chrisjcc commited on
Commit
cf6cc37
·
verified ·
1 Parent(s): 3bec3fb

Update app to allow adjustment of camera perspective

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(