Jofthomas HF staff commited on
Commit
6df0158
1 Parent(s): f7ed4e1

Update TextGen/router.py

Browse files
Files changed (1) hide show
  1. TextGen/router.py +1 -1
TextGen/router.py CHANGED
@@ -214,7 +214,7 @@ def generate_voice_coqui(message: VoiceMessage = None):
214
 
215
  return StreamingResponse(audio_stream(),media_type="audio/mpeg")
216
  @app.get("/generate_song")
217
- async def generate_song(text: SongRequest):
218
  text="""You are a bard in a video game singing the tales of a little girl in red hood."""
219
 
220
  song_lyrics=generate_lyrics({
 
214
 
215
  return StreamingResponse(audio_stream(),media_type="audio/mpeg")
216
  @app.get("/generate_song")
217
+ async def generate_song():
218
  text="""You are a bard in a video game singing the tales of a little girl in red hood."""
219
 
220
  song_lyrics=generate_lyrics({