import gradio as gr import gradiohelper def predict_protection_level(title): status = gradiohelper.predict_protection_level(title) return status iface = gr.Interface(fn=predict_protection_level, inputs="text", outputs="text") iface.launch()