Traceback (most recent call last):


 "/home/helena/Documents/LAR_Celesc/robocelesc_backend/w.py", line 39, in <module>

get_embedded('geeks.jpg')


 "/home/helena/Documents/LAR_Celesc/robocelesc_backend/w.py", line 34, in get_embedded

img = Image.open(img_stream)


 "/home/helena/Documents/LAR_Celesc/robocelesc_backend/fenv/lib/python3.7/site-packages/PIL/Image.py", line 2590, in open

% (filename if filename else fp))
OSError: cannot identify image file <_io.BytesIO object at 0x7f28a1f23f50>

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/transformers/modeling_utils.py", line 367, in from_pretrained

pretrained_model_name_or_path))
OSError: Error no file named ['pytorch_model.bin', 'tf_model.h5', 'model.ckpt.index'] found in directory chinese_rbt3_L-3_H-768_A-12 or `from_tf` set to False
