Update tts.py
Browse files
tts.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
# app/routes/tts.py
|
2 |
|
3 |
from fastapi import APIRouter, Depends
|
4 |
-
from
|
5 |
-
from
|
6 |
-
from
|
7 |
|
8 |
router = APIRouter()
|
9 |
|
|
|
1 |
# app/routes/tts.py
|
2 |
|
3 |
from fastapi import APIRouter, Depends
|
4 |
+
from auth import UserInResponse # Import a model for the user response
|
5 |
+
from tts import tts_synthesis # Import your TTS synthesis function
|
6 |
+
from main import get_current_user
|
7 |
|
8 |
router = APIRouter()
|
9 |
|