Skip to content

Commit

Permalink
set event loop
Browse files Browse the repository at this point in the history
  • Loading branch information
almazgimaev committed Dec 12, 2024
1 parent 2e3f48b commit e6bd1da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train/src/ui/monitoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ def run_benchmark(api: sly.Api, task_id, classes, cfg, state, remote_dir):
arch_type=arch_type,
)
m._load_model(deploy_params)
# asyncio.set_event_loop(asyncio.new_event_loop()) # fix for the issue with the event loop
asyncio.set_event_loop(asyncio.new_event_loop()) # fix for the issue with the event loop
m.serve()

import requests
Expand Down

0 comments on commit e6bd1da

Please sign in to comment.