Describe the bug
When using a walktrough and being on a step N, clicking on a step N-1 update the view, but after that we can't update the walktrough to N.
Have you searched existing issues? 🔎
Reproduction
Go on the official Walkthrough demo: https://www.gradio.app/docs/gradio/walkthrough
- Upload an image
- Click on "Go to prompt"
- Click on the Walkthrough (1) orange button icon
- Click again on "Go to prompt" (not working)
Otherwise, here is the code of the official demo:
import gradio as gr
with gr.Blocks() as demo:
with gr.Walkthrough(selected=0) as walkthrough:
with gr.Step("Image", id=0):
image = gr.Image()
btn = gr.Button("go to prompt")
btn.click(lambda: gr.Walkthrough(selected=1), outputs=walkthrough)
with gr.Step("Prompt", id=1):
prompt = gr.Textbox()
btn = gr.Button("generate")
btn.click(lambda: gr.Walkthrough(selected=2), outputs=walkthrough)
with gr.Step("Result", id=2):
gr.Image(label="result", interactive=False)
if __name__ == "__main__":
demo.launch()
Screenshot
No response
Logs
System Info
Tested on Firefox & Chrome, Ubuntu 24.04
Severity
Blocking usage of gradio
Describe the bug
When using a walktrough and being on a step N, clicking on a step N-1 update the view, but after that we can't update the walktrough to N.
Have you searched existing issues? 🔎
Reproduction
Go on the official Walkthrough demo: https://www.gradio.app/docs/gradio/walkthrough
Otherwise, here is the code of the official demo:
Screenshot
No response
Logs
System Info
Tested on Firefox & Chrome, Ubuntu 24.04Severity
Blocking usage of gradio