npc0 commited on
Commit
a11ecec
1 Parent(s): b643921

Update api.py

Browse files
Files changed (1) hide show
  1. api.py +1 -1
api.py CHANGED
@@ -37,6 +37,6 @@ async def read_root(websocket: WebSocket):
37
  mdobj_str = f"# {title}\n\n{hist}\n\n\n"
38
  for ct, sm in zip(chapter_titles[2:], sm_list):
39
  mdobj_str += f"## {ct}\n\n{sm}\n\n\n"
40
- await websocket.send_text(f"output: {mdobj_str}")
41
 
42
  # uvicorn api:app --reload
 
37
  mdobj_str = f"# {title}\n\n{hist}\n\n\n"
38
  for ct, sm in zip(chapter_titles[2:], sm_list):
39
  mdobj_str += f"## {ct}\n\n{sm}\n\n\n"
40
+ await websocket.send_text(f"output: {mdobj_str}")
41
 
42
  # uvicorn api:app --reload