yasserrmd commited on
Commit
daff1a1
1 Parent(s): 2055db9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  import torch
3
  from wenet.cli.model import load_model
4
  from huggingface_hub import hf_hub_download
5
- import spaces
6
 
7
  REPO_ID = "Revai/reverb-asr"
8
  files = ['reverb_asr_v1.jit.zip', 'tk.units.txt']
@@ -17,7 +17,7 @@ def process_cat_embs(style):
17
  return cat_embs
18
 
19
 
20
- @spaces.GPU
21
  def transcribe_audio(audio, style=0):
22
  if not audio:
23
  return "Input Error! Please enter one audio!"
 
2
  import torch
3
  from wenet.cli.model import load_model
4
  from huggingface_hub import hf_hub_download
5
+ #import spaces
6
 
7
  REPO_ID = "Revai/reverb-asr"
8
  files = ['reverb_asr_v1.jit.zip', 'tk.units.txt']
 
17
  return cat_embs
18
 
19
 
20
+ #@spaces.GPU
21
  def transcribe_audio(audio, style=0):
22
  if not audio:
23
  return "Input Error! Please enter one audio!"