This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/python3 | |
""" | |
extras.py: Upscale PNG images in DIR_IN into DIR_OUT. | |
Usage: Set API_URL, DIR_IN, and DIR_OUT. Then run ./extras.py | |
For API documentation see: http://localhost:7860/docs#/ | |
""" | |
import sys | |
import io | |
import os |