Spaces:
Running
on
T4
Running
on
T4
Removing my attempt to use Zero GPU.
Browse files
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.
|