Skip to content

Commit

Permalink
mindmap update 。。
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiesun committed Nov 23, 2023
1 parent e0dfa31 commit 23a32ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,8 @@ async def generate_mindmap_task_add(background_tasks: BackgroundTasks, content:
image_url=f"{server_url}/assets/{taskid}.png",
dot_url=f"{server_url}/assets/{taskid}.dot",
status_url=f"{server_url}/knowledge/mindmap/task/result/{taskid}",
remark="The task is being processed, please remember to save the URL information and revisit it later!",
remark="The task is being processed, so please remember to save the URL information and visit again later!"
" You can show the URL link to the user for delayed access later.",
)
with open(os.path.join(DATA_DIR, f"{taskid}.json"), "w") as f:
data = json.dumps(task)
Expand Down

0 comments on commit 23a32ab

Please sign in to comment.