Tiger14n commited on
Commit
50b4ba7
·
1 Parent(s): 43b3892
Files changed (1) hide show
  1. osuT5/inference/postprocessor.py +1 -1
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),