maker-space / app.py
isayahc's picture
added sample secret to UI
e184ffa verified
raw
history blame
239 Bytes
import gradio as gr
def get_secret(secret: str):
return f"The secret you entered is: {secret}"
iface = gr.Interface(fn=get_secret, inputs="text", outputs="text", title="Secret Input", description="Enter your secret:")
iface.launch()