ccm commited on
Commit
5b76734
·
1 Parent(s): 13c2bf8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -2,7 +2,6 @@ import gradio
2
  import kaboom
3
 
4
  def run_kaboom(reps):
5
- from kaboom.carMakers import runCarDesignProblem
6
 
7
  #create a parameters object
8
  #parameters (p.nAgents = 33, p.nTeams = 11, p.nDims = 56) are automatically set for this problem.
@@ -10,7 +9,7 @@ def run_kaboom(reps):
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
 
2
  import kaboom
3
 
4
  def run_kaboom(reps):
 
5
 
6
  #create a parameters object
7
  #parameters (p.nAgents = 33, p.nTeams = 11, p.nDims = 56) are automatically set for this problem.
 
9
  parameters.reps = reps
10
 
11
  #run the simulation with the car designer objective
12
+ team = kaboom.carMakers.runCarDesignProblem(parameters)
13
 
14
  #check the performance of the team
15
  #invert score *-1 so that higher score = better performance