()
| 25 | |
| 26 | |
| 27 | def test_generate_music_with_description(): |
| 28 | data = { |
| 29 | "gpt_description_prompt": "A Blues song about a person who is feeling happy and optimistic about the future.", |
| 30 | "make_instrumental": False, |
| 31 | "mv": "chirp-v3-0", |
| 32 | } |
| 33 | |
| 34 | r = requests.post("http://127.0.0.1:8000/generate", data=json.dumps(data)) |
| 35 | |
| 36 | resp = r.text |
| 37 | print(resp) |
| 38 | |
| 39 | |
| 40 | def test_generate_lyrics(): |
nothing calls this directly
no outgoing calls
no test coverage detected