Saiyaswanth007 commited on
Commit
26f9517
·
1 Parent(s): 8b75eaf

Revert portg

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -816,7 +816,7 @@ async def get_conversation_api():
816
 
817
 
818
  # API endpoint to control recording
819
- @router.post("/api/control/{action}")
820
  async def control_recording(action: str):
821
  """API endpoint to control recording (start/stop/clear/initialize)"""
822
  if action == "start":
@@ -979,7 +979,7 @@ if __name__ == "__main__":
979
  API Endpoints:
980
  - GET /health - Health check
981
  - GET /api/conversation - Get current conversation
982
- - POST /api/control/{action} - Control recording (start/stop/clear/initialize)
983
  - WS /stream/webrtc - FastRTC WebRTC endpoint
984
 
985
  """)
 
816
 
817
 
818
  # API endpoint to control recording
819
+ @router.post("/api/control/{{action}}")
820
  async def control_recording(action: str):
821
  """API endpoint to control recording (start/stop/clear/initialize)"""
822
  if action == "start":
 
979
  API Endpoints:
980
  - GET /health - Health check
981
  - GET /api/conversation - Get current conversation
982
+ - POST /api/control/{{action}} - Control recording (start/stop/clear/initialize)
983
  - WS /stream/webrtc - FastRTC WebRTC endpoint
984
 
985
  """)