Vaishnavi0404 commited on
Commit
eb54aff
·
verified ·
1 Parent(s): 2f633b6

Update music_generator.py

Browse files
Files changed (1) hide show
  1. music_generator.py +2 -2
music_generator.py CHANGED
@@ -147,8 +147,8 @@ def generate_accompaniment(emotion, sentiment_score, tempo=100, output_path="acc
147
  # Clean up midi file
148
  if os.path.exists(midi_path):
149
  os.remove(midi_path)
150
-
151
- return output_path
152
 
153
  except ImportError:
154
  print("FluidSynth not available. Creating synthetic audio instead.")
 
147
  # Clean up midi file
148
  if os.path.exists(midi_path):
149
  os.remove(midi_path)
150
+
151
+ return output_path
152
 
153
  except ImportError:
154
  print("FluidSynth not available. Creating synthetic audio instead.")