eldoraboo commited on
Commit
a51f1a0
·
1 Parent(s): 82564ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -58,13 +58,13 @@ examples = [
58
  ["United Iron And Steel Manufacturing Company (P.L.C.) produces and sells iron and steel products in Jordan. It is also involved in trading scrap iron. The company was incorporated in 1992 and is headquartered in Amman, Jordan. United Iron And Steel Manufacturing Company (P.L.C.) is a subsidiary of Manaseer Group Corporation."]
59
  ]
60
  #create interface
61
- gui = gr.Interface(title=title,
 
62
  description=description,
63
  fn=ner,
64
  inputs=[input1, input2],
65
  outputs=[output],
66
- examples=examples,
67
- api_mode=True)
68
 
69
  #display the interface
70
  gui.launch()
 
58
  ["United Iron And Steel Manufacturing Company (P.L.C.) produces and sells iron and steel products in Jordan. It is also involved in trading scrap iron. The company was incorporated in 1992 and is headquartered in Amman, Jordan. United Iron And Steel Manufacturing Company (P.L.C.) is a subsidiary of Manaseer Group Corporation."]
59
  ]
60
  #create interface
61
+ gui = gr.Interface(api_mode=True,
62
+ title=title,
63
  description=description,
64
  fn=ner,
65
  inputs=[input1, input2],
66
  outputs=[output],
67
+ examples=examples)
 
68
 
69
  #display the interface
70
  gui.launch()