import gradio as gr model = "huggingface/yseop/distilbert-base-financial-relation-extraction" description = "Please enter input to predict relation" title = "FReE Demo" examples = [["An A-B trust is a joint trust created by a married couple for the purpose of minimizing estate taxes."]] gr.Interface.load(model, description=description, title=title, examples=examples).launch()