Spaces:
Runtime error
Runtime error
Update app.py
Browse files195 unmodified lines1961971981992002012021 unmodified line204205206206207208209210211212210213214215216195 unmodified lines
# Define the Gradio interface with a sidebar for navigationwith gr.Blocks(theme=MPGPoster()) as demo: state = gr.State(value="Introduction") with gr.Row(): with gr.Column(scale=1): gr.Markdown("## Navigation")1 unmodified line section_buttons = [gr.Button(value=section) for section in sections] for button, section in zip(section_buttons, sections): button.click(fn=update_content, inputs=section, outputs=content) button.click(fn=update_content, inputs=state, outputs=content).then( fn=lambda x: section, inputs=None, outputs=state ) with gr.Column(scale=4): content
with gr.Row(): iface = gr.Interface( fn=all,app.py+5-2