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
| from difflib import SequenceMatcher | |
| from simhash import simhash | |
| import re | |
| def normalize(text: str) -> str: | |
| text = text.lower() | |
| text = re.sub(r"\s+", " ", text) | |
| return text.strip() |
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
| import gradio as gr | |
| import nemo.collections.asr as nemo_asr | |
| import numpy as np | |
| import soundfile as sf | |
| import tempfile | |
| import os | |
| import librosa # NeMo installs this by default, we use it for resampling | |
| # --- 1. Load and Configure Your Model --- | |
| print("Loading model...") |
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 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
| #include <print> | |
| auto init = std::atexit( | |
| []() { std::println(std::fopen("display_runtime.txt", "w"), "0"); }); |
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
| { | |
| "tasks": [ | |
| { | |
| "label": "Build and Run and Clean", | |
| "type": "shell", | |
| "command": "g++ ${file} utilities.cpp -o program ; .\\program ; Get-ChildItem -Path . -Filter *.exe -Recurse | Remove-Item", | |
| "group": { | |
| "kind": "build", | |
| "isDefault": true | |
| }, |
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
| (async function removeFromWatchLater() { | |
| const sleep = (ms) => new Promise(resolve => setTimeout(resolve, ms)); | |
| // Get all buttons with correct label and class | |
| const menuButtons = Array.from(document.querySelectorAll('button.style-scope.yt-icon-button[aria-label="Action menu"]')); | |
| console.log(`Found ${menuButtons.length} action menu buttons`); | |
| for (let i = 0; i < menuButtons.length; i++) { | |
| try { |
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder