How to solve this error?
https://code.sololearn.com/cWo5y1jC6cjf/#py It gives the error: runfile('D:/study material/Python/OpenCv/Programs/swapface.py', wdir='D:/study material/Python/OpenCv/Programs') D:/study material/Python/OpenCv/Programs/swapface.py:379: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison if (s == "error"): Traceback (most recent call last): File "<ipython-input-1-e5644068d857>", line 1, in <module> runfile('D:/study material/Python/OpenCv/Programs/swapface.py', wdir='D:/study material/Python/OpenCv/Programs') File "C:\Users\Raunak\AppData\Local\conda\conda\envs\py35\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 668, in runfile execfile(filename, namespace) File "C:\Users\Raunak\AppData\Local\conda\conda\envs\py35\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 108, in execfile exec(compile(f.read(), filename, 'exec'), namespace) File "D:/study material/Python/OpenCv/Programs/swapface.py", line 435, in <module> cv2.imshow('Our Amazing Face Swapper', face_swap(frame, filter_image)) File "D:/study material/Python/OpenCv/Programs/swapface.py", line 387, in face_swap landmarks2[ALIGN_POINTS]) TypeError: string indices must be integers How to solve this error? Please help it is quite urgent...