Hanna Abi Akl commited on
Commit
9ffee63
1 Parent(s): 3726e3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,8 +1,8 @@
1
  import gradio as gr
2
 
3
- model = gr.Interface.load("huggingface/yseop/distilbert-base-financial-relation-extraction")
4
  description = "Please enter input to predict relation"
5
  title = "FReE Demo"
6
  examples = [["An A-B trust is a joint trust created by a married couple for the purpose of minimizing estate taxes."]]
7
 
8
- gr.Interface(model, description=description, title=title, examples=examples).launch()
 
1
  import gradio as gr
2
 
3
+ model = "huggingface/yseop/distilbert-base-financial-relation-extraction"
4
  description = "Please enter input to predict relation"
5
  title = "FReE Demo"
6
  examples = [["An A-B trust is a joint trust created by a married couple for the purpose of minimizing estate taxes."]]
7
 
8
+ gr.Interface.load(model, description=description, title=title, examples=examples).launch()