Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ import os
|
|
15 |
from typing import Optional
|
16 |
|
17 |
# FastAPI instance
|
18 |
-
app = FastAPI(title="Kinyarwanda
|
19 |
|
20 |
# Config
|
21 |
MODEL_PATH = "/app/models/suno-bark"
|
@@ -65,7 +65,7 @@ class LegalDocRequest(BaseModel):
|
|
65 |
# Root route
|
66 |
@app.get("/")
|
67 |
def root():
|
68 |
-
return {"message": "Welcome to Kinyarwanda
|
69 |
|
70 |
# Text-to-Speech endpoint
|
71 |
@app.post("/tts/")
|
|
|
15 |
from typing import Optional
|
16 |
|
17 |
# FastAPI instance
|
18 |
+
app = FastAPI(title="Kinyarwanda Engine", version="1.0")
|
19 |
|
20 |
# Config
|
21 |
MODEL_PATH = "/app/models/suno-bark"
|
|
|
65 |
# Root route
|
66 |
@app.get("/")
|
67 |
def root():
|
68 |
+
return {"message": "Welcome to Kinyarwanda Engine"}
|
69 |
|
70 |
# Text-to-Speech endpoint
|
71 |
@app.post("/tts/")
|