edit
Browse files
osuT5/inference/postprocessor.py
CHANGED
|
@@ -163,7 +163,7 @@ class Postprocessor(object):
|
|
| 163 |
|
| 164 |
self.output_path = args.output_path
|
| 165 |
self.audio_path = args.audio_path
|
| 166 |
-
self.audio_filename = pathlib.Path(args.audio_path).name
|
| 167 |
self.beatmap_config = BeatmapConfig(
|
| 168 |
title=str(f"{self.audio_filename} ({args.title})"),
|
| 169 |
artist=str(args.artist),
|
|
|
|
| 163 |
|
| 164 |
self.output_path = args.output_path
|
| 165 |
self.audio_path = args.audio_path
|
| 166 |
+
self.audio_filename = pathlib.Path(args.audio_path).name.split(".")[0]
|
| 167 |
self.beatmap_config = BeatmapConfig(
|
| 168 |
title=str(f"{self.audio_filename} ({args.title})"),
|
| 169 |
artist=str(args.artist),
|