ranggaaldosas commited on
Commit
54d342c
1 Parent(s): f607038

feat: solving deprecated use_auth_token

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +2 -2
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  title: Whisper Small Jv
3
- emoji: 🐢
4
  colorFrom: pink
5
  colorTo: blue
6
  sdk: gradio
 
1
  ---
2
  title: Whisper Small Jv
3
+ emoji: 📢
4
  colorFrom: pink
5
  colorTo: blue
6
  sdk: gradio
app.py CHANGED
@@ -16,10 +16,10 @@ processor = WhisperProcessor.from_pretrained(
16
  "openai/whisper-small",
17
  language="Indonesian",
18
  task="transcribe",
19
- use_auth_token=hf_token,
20
  )
21
  model = WhisperForConditionalGeneration.from_pretrained(
22
- "avalonai/whisper-small-jv", use_auth_token=hf_token
23
  )
24
 
25
 
 
16
  "openai/whisper-small",
17
  language="Indonesian",
18
  task="transcribe",
19
+ token=hf_token,
20
  )
21
  model = WhisperForConditionalGeneration.from_pretrained(
22
+ "avalonai/whisper-small-jv", token=hf_token
23
  )
24
 
25