We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eda1936 commit 5ed9023Copy full SHA for 5ed9023
backgroundremoval.py
@@ -730,7 +730,9 @@ def __init__(self, image_paths):
730
self.settings = QSettings("PricklyGorse", "InteractiveBackgroundRemover")
731
732
# --- Hardware Acceleration ---
733
- self.available_providers = ort.get_available_providers()
+ all_providers = ort.get_available_providers()
734
+ # Hide azure showing in the list if the user has no GPU. Extremely unlikely will be used for such a simple app
735
+ self.available_providers = [p for p in all_providers if p != 'AzureExecutionProvider']
736
self.selected_provider = 'CPUExecutionProvider' # Default
737
738
self.original_image = None
0 commit comments