Spaces:
Runtime error
Runtime error
Commit
·
c997f1d
1
Parent(s):
0704015
Update app.py
Browse files
app.py
CHANGED
@@ -79,16 +79,11 @@ with app:
|
|
79 |
|
80 |
app_button.click(load_agent, inputs=[model1_input, model2_input], outputs=[model1_name, model1_video_output, model1_score_output, model2_name, model2_video_output, model2_score_output])
|
81 |
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
"""
|
88 |
-
|
89 |
-
examples=[
|
90 |
-
["sb3/a2c-AntBulletEnv-v0","sb3/ppo-AntBulletEnv-v0"],
|
91 |
["ThomasSimonini/a2c-AntBulletEnv-v0", "sb3/a2c-AntBulletEnv-v0"],
|
92 |
["sb3/dqn-SpaceInvadersNoFrameskip-v4", "sb3/a2c-SpaceInvadersNoFrameskip-v4"],
|
93 |
["ThomasSimonini/ppo-QbertNoFrameskip-v4","sb3/ppo-QbertNoFrameskip-v4"],
|
94 |
-
|
|
|
|
|
|
|
|
79 |
|
80 |
app_button.click(load_agent, inputs=[model1_input, model2_input], outputs=[model1_name, model1_video_output, model1_score_output, model2_name, model2_video_output, model2_score_output])
|
81 |
|
82 |
+
examples = gr.Examples(examples=[["sb3/a2c-AntBulletEnv-v0","sb3/ppo-AntBulletEnv-v0"],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
["ThomasSimonini/a2c-AntBulletEnv-v0", "sb3/a2c-AntBulletEnv-v0"],
|
84 |
["sb3/dqn-SpaceInvadersNoFrameskip-v4", "sb3/a2c-SpaceInvadersNoFrameskip-v4"],
|
85 |
["ThomasSimonini/ppo-QbertNoFrameskip-v4","sb3/ppo-QbertNoFrameskip-v4"],
|
86 |
+
inputs=[model1_input, model2_input])
|
87 |
+
|
88 |
+
|
89 |
+
app.launch()
|