abdumalikov commited on
Commit
98b2f15
1 Parent(s): 27cdb6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -7,7 +7,9 @@ from transformers import (
7
  )
8
  from peft import PeftModel, PeftConfig
9
  import torch
10
- from huggingface_hub import snapshot_download
 
 
11
 
12
  peft_model_id = "aisha-org/faster-whisper-uz"
13
  language = "uz"
 
7
  )
8
  from peft import PeftModel, PeftConfig
9
  import torch
10
+ from huggingface_hub import snapshot_download, login
11
+
12
+ login(use_auth_token=True)
13
 
14
  peft_model_id = "aisha-org/faster-whisper-uz"
15
  language = "uz"