mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-09-01 12:49:50 +08:00
Whisper: Add pip distribution configuration to support pip installations. (#739)
* Whisper: rename whisper to mlx_whisper * Whisper: add setup.py config for publish * Whisper: add assets data to setup config * Whisper: pre-commit for setup.py * Whisper: Update README.md * Whisper: Update README.md * nits * fix package data * nit in readme --------- Co-authored-by: Awni Hannun <awni@apple.com>
This commit is contained in:
10
whisper/mlx_whisper/assets/download_alice.sh
Normal file
10
whisper/mlx_whisper/assets/download_alice.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
audio_file=$HOME/.cache/whisper/alice.mp3
|
||||
echo $audio_file
|
||||
zipf=alice_in_wonderland_librivox_64kb_mp3.zip
|
||||
url=https://www.archive.org/download/alice_in_wonderland_librivox/
|
||||
curl -LO $url/$zipf
|
||||
unzip $zipf
|
||||
mv wonderland_ch_02_64kb.mp3 $audio_file
|
||||
rm wonderland_* $zipf
|
Reference in New Issue
Block a user