Kimang18 commited on
Commit
b1ab0c4
·
verified ·
1 Parent(s): 8f219b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ model_id = os.getenv("MODEL_ID")
12
  torch_dtype = torch.float16 if torch.cuda.is_available() else torch.float32
13
 
14
  processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)
15
- model = TrorYongASRModel.from_pretrained(model_id, trust_remote_code=True)
16
 
17
  @torch.no_grad()
18
  def transcribe_easier(filepath):
 
12
  torch_dtype = torch.float16 if torch.cuda.is_available() else torch.float32
13
 
14
  processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)
15
+ model = TrorYongASRModel.from_pretrained(model_id)
16
 
17
  @torch.no_grad()
18
  def transcribe_easier(filepath):