musicgen-small / handler.py

Commit History

removed float16 types from tensor
224fe62

pbotsaris commited on

added create_params func
01d132b

pbotsaris commited on

removed autocast as it creates float precision issues. removed debug
e3598b0

pbotsaris commited on

added a few more debug returns
aa06a1d

pbotsaris commited on

added debug returns to check models output
3ce0400

pbotsaris commited on

fixed to device for inputs
da50f54

pbotsaris commited on

added temp sine wave to test base64 encoding
edf8016

pbotsaris commited on

hack: handler returns base64 string, client accept: image/png and decodes
9634b4e

pbotsaris commited on

added print base64 before dispatch
d097cf7

pbotsaris commited on

fixed scipy wave conversion
023fd3a

pbotsaris commited on

updated handler to return audio base64 strings
ee4f8f7

pbotsaris commited on

added tests and changed handler to respond with an wav file
acb1db0

pbotsaris commited on

added params parser to handler
ceb1cc0

pbotsaris commited on

added model url to default params
fb92df5

pbotsaris commited on

added handler.py
18694be

pbotsaris commited on