Apoorv Saxena commited on
Commit
d7c91d6
1 Parent(s): c2c53cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -61,9 +61,9 @@ model = AutoModelForSeq2SeqLM.from_pretrained("apoorvumang/kgt5-base-wikikg90mv2
61
 
62
 
63
 
64
- ent_input = gradio.inputs.Textbox(lines=1, default="World War II")
65
- rel_input = gradio.inputs.Textbox(lines=1, default="followed by")
66
- output = gradio.outputs.Label()
67
 
68
 
69
  iface = gr.Interface(fn=predict_tail, inputs=[ent_input, rel_input], outputs=output)
 
61
 
62
 
63
 
64
+ ent_input = gr.inputs.Textbox(lines=1, default="World War II")
65
+ rel_input = gr.inputs.Textbox(lines=1, default="followed by")
66
+ output = gr.outputs.Label()
67
 
68
 
69
  iface = gr.Interface(fn=predict_tail, inputs=[ent_input, rel_input], outputs=output)