MCPcopy Create free account
hub / github.com/FunAudioLLM/FunMusic / generate_filename

Function generate_filename

app.py:48–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46 "Experience a dynamic blend of instrumental electronic music with futuristic house vibes, featuring energetic beats and a captivating rhythm. The tracks are likely instrumental, focusing on the immersive soundscapes rather than vocal performances."]
47
48def generate_filename():
49 hash_object = hashlib.sha256(str(int(datetime.datetime.now().timestamp())).encode())
50 hash_string = hash_object.hexdigest()
51 return hash_string
52
53def get_args(
54 task, text="", audio=None, model_name="InspireMusic-Base",

Callers 2

get_argsFunction · 0.85
trim_audioFunction · 0.85

Calls 1

encodeMethod · 0.45

Tested by

no test coverage detected