Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,6 +21,15 @@ VOICE_MODES = {
|
|
| 21 |
'Fenrir': 'Fenrir' # Formal / Sharp
|
| 22 |
}
|
| 23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
@app.websocket('/stream')
|
| 25 |
async def ws_stream():
|
| 26 |
"""
|
|
|
|
| 21 |
'Fenrir': 'Fenrir' # Formal / Sharp
|
| 22 |
}
|
| 23 |
|
| 24 |
+
@app.route('/')
|
| 25 |
+
async def index():
|
| 26 |
+
return {
|
| 27 |
+
"status": "online",
|
| 28 |
+
"service": "ASH-BAND Live Neural Link",
|
| 29 |
+
"endpoint": "/stream",
|
| 30 |
+
"supported_voices": list(VOICE_MODES.keys())
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
@app.websocket('/stream')
|
| 34 |
async def ws_stream():
|
| 35 |
"""
|