add headlines to output
Browse files
app.py
CHANGED
|
@@ -558,7 +558,7 @@ def main(dataset, model, progress=gr.Progress(track_tqdm=True)):
|
|
| 558 |
|
| 559 |
|
| 560 |
|
| 561 |
-
return place_data
|
| 562 |
|
| 563 |
|
| 564 |
iface = gr.Interface(fn=main,
|
|
@@ -573,9 +573,9 @@ iface = gr.Interface(fn=main,
|
|
| 573 |
label="Model")
|
| 574 |
],
|
| 575 |
# examples=examples,
|
| 576 |
-
outputs=
|
| 577 |
-
|
| 578 |
-
|
| 579 |
enable_queue=True,
|
| 580 |
debug=True,
|
| 581 |
)
|
|
|
|
| 558 |
|
| 559 |
|
| 560 |
|
| 561 |
+
return place_data, headlines
|
| 562 |
|
| 563 |
|
| 564 |
iface = gr.Interface(fn=main,
|
|
|
|
| 573 |
label="Model")
|
| 574 |
],
|
| 575 |
# examples=examples,
|
| 576 |
+
outputs=[
|
| 577 |
+
"text",
|
| 578 |
+
"text"],
|
| 579 |
enable_queue=True,
|
| 580 |
debug=True,
|
| 581 |
)
|