Multi-image frontend + minor updates t owebsite#66
Merged
amirDahari1 merged 29 commits intomainfrom Jul 30, 2025
Merged
Conversation
…ich uses same logic but without animations
Batched image frontend
Minor fixes
There was a problem hiding this comment.
Pull Request Overview
This PR adds multi-image support to the ImageRep frontend, allowing users to upload multiple images for batch analysis, along with minor updates to the website including typo fixes and code formatting improvements.
- Multi-image frontend functionality with batch processing capability
- Website updates including typo corrections and formatting improvements
- Server-side modifications to handle multiple file uploads with async support
Reviewed Changes
Copilot reviewed 21 out of 24 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| requirements dev.txt | Adds Flask[async] dependency for async server support |
| representativity/server.py | Updates server endpoints to handle multiple files with async functions |
| representativity/core.py | Code formatting improvements and minor refactoring |
| frontend/ files | Extensive frontend updates for multi-image support, UI improvements, and code formatting |
| README.md | Updates paper reference links and formatting improvements |
| CITATION.cff | Updates citation information with new paper reference |
Comments suppressed due to low confidence (2)
requirements dev.txt:8
- Flask version 3.1.0 does not exist. The latest Flask 3.x versions are 3.0.x series. Consider using Flask[async]==3.0.3 or check the correct version number.
Flask[async]==3.1.0
representativity/server.py:147
- [nitpick] The parameter name 'image_stack' is misleading as it's now being used to indicate whether there are multiple images rather than specifically a stack. Consider renaming to 'multiple_images' or 'batch_mode' for clarity.
arrs, selected_conf, selected_err, model_error=True, image_stack=is_stack
amirDahari1
approved these changes
Jul 30, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.