Spaces:
Running
on
Zero
Running
on
Zero
chong.zhang
commited on
Commit
·
957f1a3
1
Parent(s):
0e76787
update
Browse files
inspiremusic/cli/inference.py
CHANGED
@@ -198,6 +198,7 @@ class InspireMusicUnified:
|
|
198 |
logging.error(f"Generated audio length is shorter than minimum required audio length.")
|
199 |
if music_fn:
|
200 |
if os.path.exists(music_fn):
|
|
|
201 |
return music_fn
|
202 |
else:
|
203 |
logging.error(f"{music_fn} does not exist.")
|
|
|
198 |
logging.error(f"Generated audio length is shorter than minimum required audio length.")
|
199 |
if music_fn:
|
200 |
if os.path.exists(music_fn):
|
201 |
+
logging.info(f"Generated audio file {music_fn} is saved.")
|
202 |
return music_fn
|
203 |
else:
|
204 |
logging.error(f"{music_fn} does not exist.")
|