AcroBERT / app.py
Lihuchen's picture
app.py
2305203
raw
history blame
231 Bytes
import gradio as gr
from acrobert import acronym_linker
def greet(sentence):
results = acronym_linker(sentence, mode='acrobert')
return results
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()