Gradio - remove the tagline

Viewed 52

Gradio includes a tagline "built with gradio". How can I remove that?

If for some reason this option was omitted, is there a monkey patch that can do it?

1 Answers

You can access the footer via css and make it hidden:

footer {visibility: hidden}

Used in the following hello world example, makes "built with gradio" hidden.

import gradio as gr

def greet(name):
    return "Hello " + name + "!"

demo = gr.Interface(
    fn=greet,
    inputs="text",
    outputs="text",
    css="footer {visibility: hidden}"
)
demo.launch()

Related