Update app.py
Browse files
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(
|
|
|
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()
|