import gradio as gr import addressrec def greet(name): return addressrec.run(name, True, False) iface = gr.Interface(fn=greet, inputs="text", outputs="text") iface.launch()