hugofloresgarcia
commited on
Commit
•
6a97dc0
1
Parent(s):
73b8dce
commit
Browse files
app.py
CHANGED
@@ -404,7 +404,11 @@ def ui_harp(launch_kwargs):
|
|
404 |
temperature=_temperature,
|
405 |
cfg_coef=_cfg_coef
|
406 |
)
|
407 |
-
|
|
|
|
|
|
|
|
|
408 |
|
409 |
|
410 |
from pyharp import ModelCard, build_endpoint
|
|
|
404 |
temperature=_temperature,
|
405 |
cfg_coef=_cfg_coef
|
406 |
)
|
407 |
+
print(output)
|
408 |
+
sig = AudioSignal(output)
|
409 |
+
# sig = AudioSignal(torch.from_numpy(output).unsqueeze(0))
|
410 |
+
sig.write('output.wav')
|
411 |
+
return sig.path_to_file
|
412 |
|
413 |
|
414 |
from pyharp import ModelCard, build_endpoint
|