saadpie commited on
Commit
07104ff
·
verified ·
1 Parent(s): 9466e7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
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
  """