def bert_ner(line): entity = try_predict.ner(line) print(entity) return entity
import try_predict while True: try_predict.ner()