Spaces:
Sleeping
Sleeping
Remove selected_index from gallery for better PC UX
Browse filesRemoved selected_index=0 so PC users see the full 3x3 grid instead
of having one image pre-selected. Mobile users can still tap any
image to view it larger.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
app.py
CHANGED
|
@@ -3331,7 +3331,6 @@ if __name__ == "__main__" and not os.environ.get("QR_TESTING_MODE"):
|
|
| 3331 |
object_fit="cover",
|
| 3332 |
allow_preview=True,
|
| 3333 |
show_download_button=False,
|
| 3334 |
-
selected_index=0, # Open first image by default for better mobile UX
|
| 3335 |
)
|
| 3336 |
|
| 3337 |
# Event handler to load settings when user clicks an example
|
|
|
|
| 3331 |
object_fit="cover",
|
| 3332 |
allow_preview=True,
|
| 3333 |
show_download_button=False,
|
|
|
|
| 3334 |
)
|
| 3335 |
|
| 3336 |
# Event handler to load settings when user clicks an example
|