-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat. update to support Ubuntu 22.04 (requirements.txt
feat. update install script feat. add text2speech sample src/GenVoice.py bugfix. fix openai lib issue
- Loading branch information
Showing
5 changed files
with
32 additions
and
3 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/bash | ||
|
||
pip3 install -r requirements.txt | ||
sudo apt install portaudio19-dev | ||
pip3 install -r requirements.txt | ||
mkdir -p record private audio markdown |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env python3 | ||
|
||
import sys | ||
from GT2S import GT2S | ||
|
||
gt2s = GT2S(save_path="./") | ||
counter = 1 | ||
|
||
print("Using \"quit\" or ctrl+c to exit!") | ||
print("Input: ",end='', flush=True) | ||
for line in sys.stdin: | ||
if line.rstrip() == "quit": | ||
break | ||
elif len(line.rstrip()) > 0: | ||
gt2s.text2speechfile(line.rstrip(), str(counter)+".mp3", speed=1.2) | ||
counter += 1 | ||
print("Input: ",end='', flush=True) |
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