Skip to content

Instantly share code, notes, and snippets.

View Edresson's full-sized avatar

Edresson Casanova Edresson

View GitHub Profile
@Edresson
Edresson / donwload_common_voice.py
Last active February 5, 2023 20:14
Generate download links for all Common Voice 7.0 languages
# reference: https://github.com/huggingface/datasets/blob/master/datasets/common_voice/common_voice.py
# DATA_URL = "https://voice-prod-bundler-ee1969a6ce8178826482b88e843c335139bd3fb4.s3.amazonaws.com/cv-corpus-6.1-2020-12-11/{}.tar.gz"
DATA_URL = "https://voice-prod-bundler-ee1969a6ce8178826482b88e843c335139bd3fb4.s3.amazonaws.com/cv-corpus-7.0-2021-07-21/cv-corpus-7.0-2021-07-21-{}.tar.gz"
LANGUAGES = {
"ab": {
"Language": "Abkhaz",
"Date": "2020-12-11",
"Size": "39 MB",
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import socket
import struct
import codecs,sys
import threading
import random
import time
import os
# digitar : conntrack -F (limpa tabela conntrack)
orgip = sys.argv[1]