79413995

Date: 2025-02-05 07:53:14
Score: 0.5
Natty:
Report link

As of Gradio==5.15, multi-page apps are now supported in Gradio! Here's the syntax:

import gradio as gr

with gr.Blocks() as demo:
    name = gr.Textbox(label="Name")
    ...

with demo.route("Settings", "/settings"):
    num = gr.Number()
    ....

demo.launch()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Curious Student