litagin commited on
Commit
9a753f9
·
verified ·
1 Parent(s): 4fa2091

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +34 -7
README.md CHANGED
@@ -1,13 +1,40 @@
1
  ---
2
- title: Kana Whisper Demo
3
- emoji: 🏆
4
- colorFrom: red
5
- colorTo: red
6
  sdk: gradio
7
- sdk_version: 6.19.0
8
- python_version: '3.13'
9
  app_file: app.py
10
  pinned: false
 
 
11
  ---
12
 
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: Kana Whisper — Japanese ASR
3
+ emoji: 🎙️
4
+ colorFrom: indigo
5
+ colorTo: pink
6
  sdk: gradio
 
 
7
  app_file: app.py
8
  pinned: false
9
+ license: mit
10
+ short_description: Japanese speech → katakana with sbintuitions/kana-whisper
11
  ---
12
 
13
+ # 🎙️ Kana Whisper Japanese ASR → Katakana
14
+
15
+ A Gradio demo that transcribes short Japanese audio clips into **katakana**
16
+ (pronunciation, not kanji) using
17
+ [`sbintuitions/kana-whisper`](https://huggingface.co/sbintuitions/kana-whisper)
18
+ — Whisper `large-v3-turbo` fine-tuned by SB Intuitions (~0.8B params, MIT).
19
+
20
+ Example output: `キョーワイイテンキデスネ`
21
+
22
+ ## Deploying to Hugging Face Spaces (ZeroGPU)
23
+
24
+ 1. Create a new **Gradio** Space and push these files (`app.py`,
25
+ `requirements.txt`, `README.md`).
26
+ 2. In the Space **Settings → Hardware**, select **ZeroGPU**. The
27
+ `@spaces.GPU` decorator in `app.py` reserves an H200 slice per request and
28
+ releases it when the call returns.
29
+ (ZeroGPU requires a PRO account or a Space in an org/grant that allows it.)
30
+
31
+ That's it — `float16` inference is used per the model card's recommendation.
32
+
33
+ ## Run locally
34
+
35
+ Requires a CUDA GPU (the app loads the model onto `cuda`):
36
+
37
+ ```bash
38
+ pip install -r requirements.txt
39
+ python app.py
40
+ ```