Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -36,6 +36,9 @@ API_KEY_NAME = "X-API-Key"
|
|
36 |
API_KEY = os.environ.get("CHAT_AUTH_KEY", "default_secret_key")
|
37 |
api_key_header = APIKeyHeader(name=API_KEY_NAME, auto_error=False)
|
38 |
|
|
|
|
|
|
|
39 |
ModelID = Literal[
|
40 |
"openai/gpt-4o-mini",
|
41 |
"meta-llama/llama-3-70b-instruct",
|
|
|
36 |
API_KEY = os.environ.get("CHAT_AUTH_KEY", "default_secret_key")
|
37 |
api_key_header = APIKeyHeader(name=API_KEY_NAME, auto_error=False)
|
38 |
|
39 |
+
from speech_api import router as speech_api_router
|
40 |
+
app.include_router(speech_api_router, prefix="/api/v1", tags=["TTS and ASR"])
|
41 |
+
|
42 |
ModelID = Literal[
|
43 |
"openai/gpt-4o-mini",
|
44 |
"meta-llama/llama-3-70b-instruct",
|