b49a392 e184ffa b49a392 e184ffa
1
2
3
4
5
6
7
8
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()