Spaces:
Sleeping
Sleeping
gabehubner
commited on
Commit
·
381604e
1
Parent(s):
0278910
Update app.py
Browse files
app.py
CHANGED
@@ -50,6 +50,9 @@ def get_frame_and_attribution(slider_value):
|
|
50 |
|
51 |
return frame, attribution
|
52 |
|
|
|
|
|
|
|
53 |
with gr.Tab(label="Attribute"):
|
54 |
env_spec = gr.Dropdown(choices=["LunarLander-v2"],type="value",multiselect=False, label="Environment Specification (e.g.: LunarLander-v2)", lines=1)
|
55 |
env = gr.Interface(title="Create the Environment", allow_flagging="never", inputs=env_spec, fn=create_training_loop, outputs=gr.JSON())
|
|
|
50 |
|
51 |
return frame, attribution
|
52 |
|
53 |
+
with gr.Blocks() as demo:
|
54 |
+
gr.Markdown("# Introspection in Deep Reinforcement Learning")
|
55 |
+
|
56 |
with gr.Tab(label="Attribute"):
|
57 |
env_spec = gr.Dropdown(choices=["LunarLander-v2"],type="value",multiselect=False, label="Environment Specification (e.g.: LunarLander-v2)", lines=1)
|
58 |
env = gr.Interface(title="Create the Environment", allow_flagging="never", inputs=env_spec, fn=create_training_loop, outputs=gr.JSON())
|