DebasishDhal99
commited on
Commit
•
9b1c103
1
Parent(s):
5cdb01a
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from multi_agent_2D import multi_agent_walk
|
|
9 |
|
10 |
iters = gr.Number(value=1e6,label="How many random steps?")
|
11 |
step_size = gr.Number(value=1,label="Step size")
|
12 |
-
agent_count = gr.Number(value=3,
|
13 |
random_seed = gr.Number(value=42,label="Random seed. Delete it to go full random mode, keep it for reproducibility")
|
14 |
|
15 |
iface1 = gr.Interface(fn=generate_random_walk, inputs=[iters, step_size, random_seed], outputs=["image","file"], title="2-D Random Walk", description="Uniform steps along NEWS directions only")
|
|
|
9 |
|
10 |
iters = gr.Number(value=1e6,label="How many random steps?")
|
11 |
step_size = gr.Number(value=1,label="Step size")
|
12 |
+
agent_count = gr.Number(value=3, label = "Number of agents")
|
13 |
random_seed = gr.Number(value=42,label="Random seed. Delete it to go full random mode, keep it for reproducibility")
|
14 |
|
15 |
iface1 = gr.Interface(fn=generate_random_walk, inputs=[iters, step_size, random_seed], outputs=["image","file"], title="2-D Random Walk", description="Uniform steps along NEWS directions only")
|