Spaces:
Runtime error
Runtime error
Update app.py
Browse files199 unmodified lines200201202203203204205206206207208209199 unmodified lines with gr.Column(scale=1): gr.Markdown("## Navigation") sections = ["Introduction", "Method", "Demo", "Conclusion"] section_buttons = [gr.Button(section) for section in sections] section_buttons = [gr.Button(value=section) for section in sections] for button, section in zip(section_buttons, sections): button.click(fn=update_content, inputs=gr.Button(label=section), outputs=content) button.click(fn=update_content, inputs=section, outputs=content) with gr.Column(scale=4): contentapp.py+2-2