DebasishDhal99
commited on
Commit
·
01a3c1e
1
Parent(s):
73396ce
Minor adjustment
Browse files
app.py
CHANGED
@@ -72,7 +72,7 @@ def generate_random_walk(iters, step_size = 1, random_seed = None):
|
|
72 |
|
73 |
iters = gr.Number(value=1e5,label="How many random steps?")
|
74 |
step_size = gr.Number(value=1,label="Step size")
|
75 |
-
random_seed = gr.Number(value=
|
76 |
|
77 |
iface = gr.Interface(fn=generate_random_walk, inputs=[iters, step_size, random_seed], outputs="image", title="2-D Random Walk Plot", description="Steps along NEWS directions only")
|
78 |
iface.launch()
|
|
|
72 |
|
73 |
iters = gr.Number(value=1e5,label="How many random steps?")
|
74 |
step_size = gr.Number(value=1,label="Step size")
|
75 |
+
random_seed = gr.Number(value=42,label="Random seed (Delete it to go full random mode)")
|
76 |
|
77 |
iface = gr.Interface(fn=generate_random_walk, inputs=[iters, step_size, random_seed], outputs="image", title="2-D Random Walk Plot", description="Steps along NEWS directions only")
|
78 |
iface.launch()
|