justus-tobias commited on
Commit
2321d9d
·
1 Parent(s): d1a7105

removed CPU

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ mimi_weight = hf_hub_download(loaders.DEFAULT_REPO, loaders.MIMI_NAME)
11
  moshi_weight = hf_hub_download(loaders.DEFAULT_REPO, loaders.MOSHI_NAME)
12
 
13
 
14
- @spaces.CPU
15
  def compute_codes(wav):
16
  """wav = torch.randn(1, 1, 24000 * 10) # should be [B, C=1, T]"""
17
  mimi = loaders.get_mimi(mimi_weight, device='cpu')
 
11
  moshi_weight = hf_hub_download(loaders.DEFAULT_REPO, loaders.MOSHI_NAME)
12
 
13
 
14
+
15
  def compute_codes(wav):
16
  """wav = torch.randn(1, 1, 24000 * 10) # should be [B, C=1, T]"""
17
  mimi = loaders.get_mimi(mimi_weight, device='cpu')