File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
src/lightning_app/components/serve Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -453,7 +453,9 @@ def _get_endpoint_info_page(self) -> Optional["APIAccessFrontend"]: # noqa: F82
453453 try :
454454 from lightning_api_access import APIAccessFrontend
455455 except ModuleNotFoundError :
456- logger .warn ("APIAccessFrontend not found. Please install lightning-api-access to enable the UI" )
456+ logger .warn (
457+ "Some dependencies to run the UI are missing. To resolve, run `pip install lightning-api-access`"
458+ )
457459 return
458460
459461 if is_running_in_cloud ():
Original file line number Diff line number Diff line change @@ -293,7 +293,9 @@ def configure_layout(self) -> Optional["Frontend"]:
293293 try :
294294 from lightning_api_access import APIAccessFrontend
295295 except ModuleNotFoundError :
296- logger .warn ("APIAccessFrontend not found. Please install lightning-api-access to enable the UI" )
296+ logger .warn (
297+ "Some dependencies to run the UI are missing. To resolve, run `pip install lightning-api-access`"
298+ )
297299 return
298300
299301 class_name = self .__class__ .__name__
You can’t perform that action at this time.
0 commit comments