Spaces:
Runtime error
Runtime error
kpriyanshu256
commited on
Commit
•
9b40951
1
Parent(s):
918b9d0
Added description
Browse files
app.py
CHANGED
@@ -160,5 +160,6 @@ text = gr.inputs.Textbox(lines=5, label="Context",\
|
|
160 |
acronym = gr.inputs.Dropdown(choices=sorted(list(DICTIONARY.keys())), label="Acronym", default="CNN")
|
161 |
expansion = gr.outputs.Textbox(label="Expansion")
|
162 |
|
163 |
-
iface = gr.Interface(fn=disambiguate, inputs=[text, acronym], outputs=expansion,
|
|
|
164 |
iface.launch()
|
|
|
160 |
acronym = gr.inputs.Dropdown(choices=sorted(list(DICTIONARY.keys())), label="Acronym", default="CNN")
|
161 |
expansion = gr.outputs.Textbox(label="Expansion")
|
162 |
|
163 |
+
iface = gr.Interface(fn=disambiguate, inputs=[text, acronym], outputs=expansion, \
|
164 |
+
title="Scientific Acronym Disambiguation", description="Demo of model based on https://arxiv.org/abs/2102.08818")
|
165 |
iface.launch()
|