Hanna Abi Akl
Update app.py
9ffee63
raw
history blame
380 Bytes
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()