Gregniuki commited on
Commit
f46aecc
·
1 Parent(s): 74fe0c7

Update tts.py

Browse files
Files changed (1) hide show
  1. tts.py +1 -1
tts.py CHANGED
@@ -7,7 +7,7 @@ from main import get_current_user
7
 
8
  router = APIRouter()
9
 
10
- @router.get("/synthesize", response_model=UserInResponse)
11
  def synthesize_text(text: str, current_user: str = Depends(get_current_user)):
12
  # Use the get_current_user dependency to ensure authentication
13
  audio_data = tts_synthesis(text, current_user)
 
7
 
8
  router = APIRouter()
9
 
10
+ @router.get("/synthesize", response_model=UserCreate)
11
  def synthesize_text(text: str, current_user: str = Depends(get_current_user)):
12
  # Use the get_current_user dependency to ensure authentication
13
  audio_data = tts_synthesis(text, current_user)