File size: 231 Bytes
fd46a6b
2305203
fd46a6b
2305203
 
 
 
fd46a6b
 
 
1
2
3
4
5
6
7
8
9
10
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()