Spaces:
Running
Running
smellslikeml
commited on
Commit
•
336ddb1
1
Parent(s):
b3167b2
format output
Browse files- audio_adjustment.py +2 -1
audio_adjustment.py
CHANGED
@@ -8,7 +8,7 @@ class AudioAdjustmentTool(Tool):
|
|
8 |
Inputs are input_path, output_path, level (e.g. 0.5 or -13dB).
|
9 |
"""
|
10 |
inputs = ["text", "text", "text"]
|
11 |
-
outputs = ["
|
12 |
|
13 |
def __call__(self, input_path: str, output_path: str, level: str):
|
14 |
(
|
@@ -16,3 +16,4 @@ class AudioAdjustmentTool(Tool):
|
|
16 |
.output(output_path, af="volume={}".format(level))
|
17 |
.run()
|
18 |
)
|
|
|
|
8 |
Inputs are input_path, output_path, level (e.g. 0.5 or -13dB).
|
9 |
"""
|
10 |
inputs = ["text", "text", "text"]
|
11 |
+
outputs = ["text"]
|
12 |
|
13 |
def __call__(self, input_path: str, output_path: str, level: str):
|
14 |
(
|
|
|
16 |
.output(output_path, af="volume={}".format(level))
|
17 |
.run()
|
18 |
)
|
19 |
+
return output_path
|