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 pyaudio | |
from deepspeech import Model | |
import scipy.io.wavfile as wav | |
import wave | |
WAVE_OUTPUT_FILENAME = "test_audio.wav" | |
def record_audio(WAVE_OUTPUT_FILENAME): | |
CHUNK = 1024 |
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 os | |
import glob | |
import hiyapyco | |
path = 'data/domain' | |
yaml_list = [] | |
for filename in glob.glob(os.path.join(path, '*.yml')): | |
with open(filename) as fp: | |
yaml_file = fp.read() |
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 React, { Component } from "react"; | |
import { StyleSheet, Text, View, TouchableHighlight } from "react-native"; | |
import Header from "../components/Header.js"; | |
import HomeContent from "../components/HomeContent.js"; | |
import Tabs from "../components/Tabs.js"; | |
import config from "../client/config.js"; | |
import SessionsList from "../screens/SessionsList"; |