5ce56ff7e7f0c085bdff9745471c50aa4d0e1faa,precise/stream.py,,main,#,78

Before Change


        print()
        print("    For every chunk, an inference will be given")
        print("    via stdout as a float string, one per line")
        sys.exit(1)

    global tf
    import tensorflow
    tf = tensorflow

After Change


    parser.add_argument("-v", "--version", action="version", version=__version__)
    parser.add_argument("model_name")
    parser.add_argument("chunk_size", type=int, nargs="?", default=-1)
    parser.usage = parser.format_usage().strip().replace("usage: ", "") + " < audio.wav"
    args = parser.parse_args()

    if sys.stdin.isatty():
        parser.error("Please pipe audio via stdin using < audio.wav")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: MycroftAI/mycroft-precise
Commit Name: 5ce56ff7e7f0c085bdff9745471c50aa4d0e1faa
Time: 2017-11-03
Author: matthew3311999@gmail.com
File Name: precise/stream.py
Class Name:
Method Name: main


Project Name: cve-search/cve-search
Commit Name: 3b2c309b3c29d05fee2e4d00e9210301fd0b4cfc
Time: 2020-10-22
Author: paul.tikken@gmail.com
File Name: lib/cpelist.py
Class Name: CPEList
Method Name: importList


Project Name: jakeret/tf_unet
Commit Name: dfb5016cefc3bad21ab900a1c8196c46d6bd2297
Time: 2017-12-29
Author: joel.akeret@gmail.com
File Name: setup.py
Class Name:
Method Name: