gradio-auth-new / app.py
iamrobotbear's picture
Update app.py
4b1bad0
raw
history blame
312 Bytes
import gradio as gr
import os
ok = os.getenv("P")
auth = ("gradio", os.getenv("P"))
title = "Hello Auth"
#gr.Interface.load("spaces/eugenesiow/remove-bg").launch()
gr.Interface(lambda x: "Hello " + x, "text", "text", title=title).launch(auth=auth)
gr.Interface.load("spaces/iamrobotbear/webui-docker").launch()