Update app.py
Browse files
app.py
CHANGED
|
@@ -44,6 +44,8 @@ iface = gr.Interface(
|
|
| 44 |
gr.Textbox(lines=5, label="Article Text")],
|
| 45 |
outputs=gr.Label(num_top_classes=5),
|
| 46 |
examples=[[title_1, abstract_1, text_1], [title_2, abstract_2, text_2]]
|
|
|
|
|
|
|
| 47 |
)
|
| 48 |
|
| 49 |
iface.launch()
|
|
|
|
| 44 |
gr.Textbox(lines=5, label="Article Text")],
|
| 45 |
outputs=gr.Label(num_top_classes=5),
|
| 46 |
examples=[[title_1, abstract_1, text_1], [title_2, abstract_2, text_2]]
|
| 47 |
+
title="Article topic classifier"
|
| 48 |
+
description= "Upload the paper title, its abstract, and the beginning of the text. Our model will figure out whether this is a Biology, Chemistry, Computer Science, Medicine or Physics related article."
|
| 49 |
)
|
| 50 |
|
| 51 |
iface.launch()
|