Spaces:
Build error
Build error
minor style updates
Browse files
app.py
CHANGED
|
@@ -246,7 +246,8 @@ def change_attractor(name):
|
|
| 246 |
with gr.Blocks() as demo:
|
| 247 |
with gr.Tab("Robotic Arm Exploration"):
|
| 248 |
with gr.Row():
|
| 249 |
-
|
|
|
|
| 250 |
gr.Markdown(
|
| 251 |
"""This example is based on Fabien Benureau goal babbling tutorial, which can also be run in [this notebook](https://fabien.benureau.com/recode/benureau2015_gb/benureau2015_gb.html)
|
| 252 |
"""
|
|
@@ -274,7 +275,7 @@ with gr.Blocks() as demo:
|
|
| 274 |
width=400, height=400, label="Random Goal Exploration")
|
| 275 |
|
| 276 |
with gr.Row():
|
| 277 |
-
gallery = gr.Gallery(object_fit="contain", height="600px", columns=
|
| 278 |
|
| 279 |
|
| 280 |
explo_btn.click(explore_robotic_arm, inputs=[seed, N, dim, limit], outputs=[rip_plot, rge_plot, gallery])
|
|
@@ -282,7 +283,8 @@ with gr.Blocks() as demo:
|
|
| 282 |
|
| 283 |
with gr.Tab("Chaotic Attractors Exploration"):
|
| 284 |
with gr.Row():
|
| 285 |
-
|
|
|
|
| 286 |
gr.Markdown(
|
| 287 |
"""This example uses William Gilpin's `dysts` library, which contains many examples of chaotic systems (see [github repo](https://github.com/williamgilpin/dysts/))
|
| 288 |
"""
|
|
@@ -324,7 +326,7 @@ with gr.Blocks() as demo:
|
|
| 324 |
width=400, height=400, label="Random Goal Exploration")
|
| 325 |
|
| 326 |
with gr.Row():
|
| 327 |
-
gallery2 = gr.Gallery(object_fit="contain", height="600px", columns=
|
| 328 |
|
| 329 |
name.input(change_attractor, inputs=name, queue=False, show_progress="hidden",
|
| 330 |
outputs=[lorenz_beta_range, lorenz_rho_range, lorenz_sigma_range, lorenz_ic_range,
|
|
|
|
| 246 |
with gr.Blocks() as demo:
|
| 247 |
with gr.Tab("Robotic Arm Exploration"):
|
| 248 |
with gr.Row():
|
| 249 |
+
gr.Markdown("# Goal-based Exploration of a Robotic Arm")
|
| 250 |
+
with gr.Row():
|
| 251 |
gr.Markdown(
|
| 252 |
"""This example is based on Fabien Benureau goal babbling tutorial, which can also be run in [this notebook](https://fabien.benureau.com/recode/benureau2015_gb/benureau2015_gb.html)
|
| 253 |
"""
|
|
|
|
| 275 |
width=400, height=400, label="Random Goal Exploration")
|
| 276 |
|
| 277 |
with gr.Row():
|
| 278 |
+
gallery = gr.Gallery(object_fit="contain", height="600px", columns=8, label="IMGEP Discoveries")
|
| 279 |
|
| 280 |
|
| 281 |
explo_btn.click(explore_robotic_arm, inputs=[seed, N, dim, limit], outputs=[rip_plot, rge_plot, gallery])
|
|
|
|
| 283 |
|
| 284 |
with gr.Tab("Chaotic Attractors Exploration"):
|
| 285 |
with gr.Row():
|
| 286 |
+
gr.Markdown("# Goal-based Exploration of a Chaotic System")
|
| 287 |
+
with gr.Row():
|
| 288 |
gr.Markdown(
|
| 289 |
"""This example uses William Gilpin's `dysts` library, which contains many examples of chaotic systems (see [github repo](https://github.com/williamgilpin/dysts/))
|
| 290 |
"""
|
|
|
|
| 326 |
width=400, height=400, label="Random Goal Exploration")
|
| 327 |
|
| 328 |
with gr.Row():
|
| 329 |
+
gallery2 = gr.Gallery(object_fit="contain", height="600px", columns=8, label="IMGEP Discoveries")
|
| 330 |
|
| 331 |
name.input(change_attractor, inputs=name, queue=False, show_progress="hidden",
|
| 332 |
outputs=[lorenz_beta_range, lorenz_rho_range, lorenz_sigma_range, lorenz_ic_range,
|