ttengwang
fix bugs of example images and api keys
5c74464
raw
history blame
179 Bytes
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)