ccm commited on
Commit
b259c65
·
1 Parent(s): 5aa68b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import gradio
2
  import kaboom
3
- import kaboom.carMakers
4
 
5
  def run_kaboom(reps):
6
 
@@ -10,7 +10,7 @@ def run_kaboom(reps):
10
  parameters.reps = reps
11
 
12
  #run the simulation with the car designer objective
13
- team = kaboom.carMakers.runCarDesignProblem(parameters)
14
 
15
  #check the performance of the team
16
  #invert score *-1 so that higher score = better performance
 
1
  import gradio
2
  import kaboom
3
+ from kaboom.carMakers import runCarDesignProblem
4
 
5
  def run_kaboom(reps):
6
 
 
10
  parameters.reps = reps
11
 
12
  #run the simulation with the car designer objective
13
+ team = runCarDesignProblem(parameters)
14
 
15
  #check the performance of the team
16
  #invert score *-1 so that higher score = better performance