- Change directory to the
tests/runpoddirectory
cd tests/runpod- Copy the
.env.examplefile to.env:
cd tests
cp .env.example .env- Edit the
.envfile and add your RunPod API key toRUNPOD_API_KEYand your RunPod Endpoint ID toRUNPOD_ENDPOINT_ID. - Run one of the scripts, for example:
python3 all_1_source_into_all_1_target.py- This will display the HTTP status code and the filename of the output image, for example:
Status code: 200
Saving image: 792a7e9f-9c36-4d35-b408-0d45d8e2bbcb.jpg
You can then open the output image (in this case
792a7e9f-9c36-4d35-b408-0d45d8e2bbcb.jpg) to view the
results of the face swap.