ActivePython 2.7.18.4 (ActiveState Software Inc.) based on Python 2.7.18.4 (default, Aug 9 2021, 23:37:24) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license()" for more information. >>> import gradio as gr def greet(name): return "Hello " + name + "!!" iface = gr.Interface(fn=greet, inputs="text", outputs="text") iface.launch()