File size: 179 Bytes
0ab9a32
 
 
 
 
 
1
2
3
4
5
6
from text_refiner.text_refiner import TextRefiner


def build_text_refiner(type, device, args=None, api_key=""):
    if type == 'base':
        return TextRefiner(device, api_key)