Spaces:
Sleeping
Sleeping
gabehubner
commited on
Commit
·
b8f6817
1
Parent(s):
d8d13e9
Revert "Update app.py"
Browse filesThis reverts commit 151a19d0b5d961702e860206fc74e332ef7570f5.
app.py
CHANGED
@@ -75,7 +75,7 @@ with gr.Blocks() as demo:
|
|
75 |
gr.Button("ATTRIBUTE").click(fn=generate_output, inputs=[baselines, option])
|
76 |
slider = gr.Slider(label="Key Frame", minimum=0, maximum=1000, step=1, value=0)
|
77 |
|
78 |
-
gr.Interface(fn=get_frame_and_attribution, inputs=slider, live=True, outputs=[gr.Image(label="Timestep")
|
79 |
|
80 |
gr.Markdown(r"""\#\# Local Usage and Packages \
|
81 |
`pip install torch gymnasium 'gymnasium[box2d]'` \
|
|
|
75 |
gr.Button("ATTRIBUTE").click(fn=generate_output, inputs=[baselines, option])
|
76 |
slider = gr.Slider(label="Key Frame", minimum=0, maximum=1000, step=1, value=0)
|
77 |
|
78 |
+
gr.Interface(fn=get_frame_and_attribution, inputs=slider, live=True, outputs=[gr.Image(label="Timestep")])
|
79 |
|
80 |
gr.Markdown(r"""\#\# Local Usage and Packages \
|
81 |
`pip install torch gymnasium 'gymnasium[box2d]'` \
|