From 279765a4dcf786ed70b135fe8d9e80eb45ca5feb Mon Sep 17 00:00:00 2001 From: Xander Song Date: Tue, 21 Nov 2023 14:15:48 -0800 Subject: [PATCH] fix sync executor (#1797) --- src/phoenix/experimental/evals/functions/classify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phoenix/experimental/evals/functions/classify.py b/src/phoenix/experimental/evals/functions/classify.py index 99f29c86e3..7a266dd868 100644 --- a/src/phoenix/experimental/evals/functions/classify.py +++ b/src/phoenix/experimental/evals/functions/classify.py @@ -252,7 +252,7 @@ def get_executor_on_sync_context( "faster. To patch the event loop, run `nest_asyncio.apply()`." ) return SyncExecutor( - async_fn, + sync_fn, tqdm_bar_format=tqdm_bar_format, exit_on_error=exit_on_error, fallback_return_value=fallback_return_value,