Spaces:
Runtime error
Runtime error
simplify outputs
Browse files
app.py
CHANGED
@@ -10,5 +10,5 @@ def make_summary(article, max_length=130, min_length=30, do_sample=False):
|
|
10 |
def get_entities(article):
|
11 |
return ner(article)
|
12 |
|
13 |
-
iface = gr.Interface(fn=
|
14 |
iface.launch()
|
|
|
10 |
def get_entities(article):
|
11 |
return ner(article)
|
12 |
|
13 |
+
iface = gr.Interface(fn=make_summary, inputs="text", outputs="text")
|
14 |
iface.launch()
|