Yan*_*unk 10
您可以通过 css 访问页脚并将其隐藏:
footer {visibility: hidden}
Run Code Online (Sandbox Code Playgroud)
在下面的 hello world 示例中使用,使“built with gradio”隐藏。
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()
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5578 次 |
| 最近记录: |