Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowcz007 committed Sep 1, 2024
1 parent 824e25d commit 078fd10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,9 @@ async def handle_ar_page(request):
# 重启服务
@routes.post('/mixlab/re_start')
def re_start(request):
p_intance=PromptServer.instance
try:
p_intance.prompt_queue.set_flag("free_memory", True)
sys.stdout.close_log()
except Exception as e:
pass
Expand Down

0 comments on commit 078fd10

Please sign in to comment.