Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ except Exception as e:
|
|
12 |
print(f"Error initializing pipeline: {e}")
|
13 |
pipeline = None
|
14 |
|
15 |
-
|
16 |
def process_audio(audio):
|
17 |
if pipeline is None:
|
18 |
return "Error: Pipeline not initialized"
|
|
|
12 |
print(f"Error initializing pipeline: {e}")
|
13 |
pipeline = None
|
14 |
|
15 |
+
@spaces.GPU
|
16 |
def process_audio(audio):
|
17 |
if pipeline is None:
|
18 |
return "Error: Pipeline not initialized"
|