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 numpy as np | |
from dataclasses import dataclass | |
import gradio as gr | |
@dataclass | |
class A: | |
x: int | |
y: int |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
{ pkgs ? import <nixpkgs> { } }: | |
pkgs.mkShell { | |
packages = [ | |
(pkgs.python3.withPackages (ps: with ps; [ | |
ipython | |
mir_eval | |
])) | |
]; | |
shellHook = '' | |
ipython -c 'import mir_eval; print(mir_eval.__version__)' |
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
conda create -y -c conda-forge -n py38 python=3.8 ipykernel ipywidgets 'ffmpeg<5' | |
conda run -n py38 ipython kernel install --name py38 --user |
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
"""Clone all gists repos for user.""" | |
import argparse | |
import json | |
from multiprocessing.dummy import Pool | |
from pathlib import Path | |
from subprocess import call | |
from urllib.request import urlopen | |
def pull(gist): |
Sorry, this is too big to display.
NewerOlder