meg HF Staff commited on
Commit
f33c7b9
·
verified ·
1 Parent(s): e237717

Removing my attempt to use Zero GPU.

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import gradio as gr
2
- import spaces
3
 
4
  import src.generate as generate
5
  import src.process as process
@@ -76,7 +76,7 @@ def make_html(sentence_match):
76
 
77
 
78
  # ------------------- Core Check (English-only) -------------------
79
- @spaces.GPU
80
  def get_user_transcript(audio_path: gr.Audio, target_sentence: str,
81
  model_id: str, device_pref: str) -> (str, str):
82
  """ASR for the input audio and basic validation.
 
1
  import gradio as gr
2
+ # import spaces
3
 
4
  import src.generate as generate
5
  import src.process as process
 
76
 
77
 
78
  # ------------------- Core Check (English-only) -------------------
79
+ # @spaces.GPU
80
  def get_user_transcript(audio_path: gr.Audio, target_sentence: str,
81
  model_id: str, device_pref: str) -> (str, str):
82
  """ASR for the input audio and basic validation.