5

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?

SRobertJames
  • 8,210
  • 14
  • 60
  • 107

2 Answers2

6

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()

Yannick Funk
  • 1,319
  • 10
  • 23
3

Extending on the accepted answer -
If you want to remove the "built with gradio" footer when using Gradio Blocks, pass the CSS Blocks:
gr.Blocks(css=css)

WisdomSeeker
  • 41
  • 1
  • 3