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
""" | |
Try of OpenAI text recognition model whisper. | |
To install: | |
pip install git+https://github.com/openai/whisper.git pyaudio pydub | |
""" | |
import wave |
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
package pro.tlrs.utils; | |
import android.content.Context; | |
import android.content.pm.PackageInfo; | |
import android.content.pm.PackageManager; | |
import android.content.res.AssetManager; | |
import android.database.DatabaseErrorHandler; | |
import android.database.sqlite.SQLiteDatabase; | |
import android.util.Log; |