Add github action to automatically push to pypi on Release x.y.z commit (#681)

* Add github action to automatically push to pypi on Release x.y.z commit

* some housekeeping for pypi upload

* add version.py

Co-authored-by: Jong Wook Kim <jongwook@nyu.edu>
This commit is contained in:
Romain Beaumont
2023-01-18 00:50:26 +01:00
committed by GitHub
parent f0083e7eb2
commit b9f9b433ae
6 changed files with 61 additions and 11 deletions

View File

@@ -12,6 +12,7 @@ from .audio import load_audio, log_mel_spectrogram, pad_or_trim
from .decoding import DecodingOptions, DecodingResult, decode, detect_language
from .model import Whisper, ModelDimensions
from .transcribe import transcribe
from .version import __version__
_MODELS = {

1
whisper/version.py Normal file
View File

@@ -0,0 +1 @@
__version__ = "20230117"