Skip to content

Conversation

@joeltio
Copy link

@joeltio joeltio commented Aug 23, 2025

unselectable ZeroGPU when CUDA is not available

Issue
When there is no GPU available, the Hardware dropdown still shows ZeroGPU as the selected option.

Solution
According to the Gradio docs, the first value in the list is shown. This PR puts the CPU as the first value so that if CUDA_AVAILABLE is False, it will. show the CPU as the selected option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant