Skip to content

Instantly share code, notes, and snippets.

@duggan
Created March 29, 2024 12:07
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save duggan/63b7de9b5f6e8e74fe4b05af64dbe9a5 to your computer and use it in GitHub Desktop.
Save duggan/63b7de9b5f6e8e74fe4b05af64dbe9a5 to your computer and use it in GitHub Desktop.
OpenVoice updated setup.py for running on Apple Silicon with Python 3.11
from setuptools import setup
setup(name='MyShell-OpenVoice',
version='0.0.0',
description='Instant voice cloning by MyShell.',
long_description=open('README.md').read().strip(),
long_description_content_type='text/markdown',
keywords=[
'text-to-speech',
'tts',
'voice-clone',
'zero-shot-tts'
],
url='https://github.com/myshell-ai/OpenVoice',
project_urls={
'Documentation': 'https://github.com/myshell-ai/OpenVoice/blob/main/docs/USAGE.md',
'Changes': 'https://github.com/myshell-ai/OpenVoice/releases',
'Code': 'https://github.com/myshell-ai/OpenVoice',
'Issue tracker': 'https://github.com/myshell-ai/OpenVoice/issues',
},
author='MyShell',
author_email='ethan@myshell.ai',
license='Creative Commons Attribution-NonCommercial 4.0 International Public License',
packages=[
'openvoice'
],
python_requires='>=3.9',
install_requires=[
'numba==0.59.1',
'librosa @ https://github.com/librosa/librosa/archive/refs/heads/main.zip',
'faster-whisper==1.0.1',
'pydub==0.25.1',
'wavmark==0.0.3',
'numpy==1.26.4',
'eng_to_ipa==0.0.2',
'inflect==7.0.0',
'unidecode==1.3.7',
'whisper-timestamped==1.15.3',
'pypinyin==0.51.0',
'cn2an==0.5.22',
'jieba==0.42.1',
'gradio==4.24.0',
'langid==1.1.6',
],
zip_safe=False
)
@duggan
Copy link
Author

duggan commented Mar 29, 2024

Generated output:

hello_hn_date_converted.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment