fixed syntax error

This commit is contained in:
Abubakar Abid 2020-07-02 17:35:56 -05:00
parent d8a6baccad
commit 4fd27784f8

View File

@ -308,11 +308,12 @@ class Image(AbstractInput):
return array
def process_example(self, example):
if os.path.exists(example)
if os.path.exists(example):
return preprocessing_utils.convert_file_to_base64(example)
else:
return example
class Microphone(AbstractInput):
def preprocess(self, inp):