Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -68,6 +68,10 @@ def dynamic_gpu_duration(func, duration, *args):
|
|
68 |
|
69 |
return wrapped_func()
|
70 |
|
|
|
|
|
|
|
|
|
71 |
def do_transcribe(inputs):
|
72 |
if inputs is None:
|
73 |
raise gr.Error("No audio file submitted! Please upload or record an audio file before submitting your request.")
|
|
|
68 |
|
69 |
return wrapped_func()
|
70 |
|
71 |
+
@spaces.GPU
|
72 |
+
def dummy_gpu():
|
73 |
+
return None
|
74 |
+
|
75 |
def do_transcribe(inputs):
|
76 |
if inputs is None:
|
77 |
raise gr.Error("No audio file submitted! Please upload or record an audio file before submitting your request.")
|