DebasishDhal99
commited on
Commit
·
5cdb01a
1
Parent(s):
fcf43ac
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ agent_count = gr.Number(value=3, labale = "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")
|
16 |
-
iface2 = gr.Interface(fn=multi_agent_walk, inputs=[iters,iters, step_size, random_seed],
|
17 |
|
18 |
combinedinterface = gr.TabbedInterface([iface1,iface2],['Single Particle Random Walk', 'Multi-Particle Random Walk'])
|
19 |
combinedinterface.launch()
|
|
|
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")
|
16 |
+
iface2 = gr.Interface(fn=multi_agent_walk, inputs=[iters,iters, step_size, random_seed], outputs=["image","file"], title="Multi-Agent 2D Random Walk")
|
17 |
|
18 |
combinedinterface = gr.TabbedInterface([iface1,iface2],['Single Particle Random Walk', 'Multi-Particle Random Walk'])
|
19 |
combinedinterface.launch()
|