Spaces:
Runtime error
Runtime error
Update app.py
Browse files195 unmodified lines1961971981992002011 unmodified line203204205206207208209210211212213195 unmodified lines# Define the Gradio interface with a sidebar for navigationwith gr.Blocks(theme=MPGPoster()) as demo:with gr.Row():with gr.Column(scale=1):gr.Markdown("## Navigation")1 unmodified linesection_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)with gr.Column(scale=4):contentwith gr.Row():iface = gr.Interface(fn=all,195 unmodified lines1961971981992002012021 unmodified line204205206207208209210211212213214215216195 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 linesection_buttons = [gr.Button(value=section) for section in sections]for button, section in zip(section_buttons, sections):button.click(fn=update_content, inputs=state, outputs=content).then(fn=lambda x: section, inputs=None, outputs=state)with gr.Column(scale=4):contentwith gr.Row():iface = gr.Interface(fn=all,
app.py+5-2