import gradio as gr import cv2 def greet(name): return "Hello " + name + "!!" + str(cv2.__version__) iface = gr.Interface(fn=greet, inputs="text", outputs="text") iface.launch()