Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
import logging | |
from abc import ABC, abstractmethod | |
from typing import Callable | |
import numpy as np | |
import pandas as pd | |
from gensim.models import KeyedVectors, Word2Vec | |
from sklearn.base import BaseEstimator, TransformerMixin | |
from sklearn.feature_extraction.text import TfidfVectorizer |
This file contains 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
import streamlit as st | |
from streamlit.hashing import _CodeHasher | |
try: | |
# Before Streamlit 0.65 | |
from streamlit.ReportThread import get_report_ctx | |
from streamlit.server.Server import Server | |
except ModuleNotFoundError: | |
# After Streamlit 0.65 | |
from streamlit.report_thread import get_report_ctx |
This file contains 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
#!/bin/bash | |
MVN_CMD="docker run -t --rm -u $(id -u $USER):$(id -g $USER) \ | |
-v $HOME/.m2:/mnt/maven/.m2 \ | |
-v $PWD:/mnt/code \ | |
-w /mnt/code \ | |
-e MAVEN_CONFIG=/mnt/maven/.m2 \ | |
maven:3-jdk-8 mvn -Duser.home=/mnt/maven" | |
$MVN_CMD "$@" |
This file contains 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
#!/bin/bash | |
AUDIODIR=$1 | |
helpmsg="get-audio-max.sh <input directory>" | |
[[ -n "$AUDIODIR" ]] || \ | |
{ | |
echo "You must inform the input directory with the RAW audio files"; | |
echo $helpmsg; |