import gradio as gr from bcogsphere import bcs iface = gr.Interface(fn=bcs, inputs="text", outputs="text") iface.launch()