Fix title and rebuttal passing via gr.State instead of hidden textboxes
Sina1138
4827e31
Fix polarity display and title rendering on HF Spaces
Sina1138
ea98c29
Improve title extraction logic in fetch_reviews_from_openreview_link function for better fallback handling
Sina1138
18efeda
Refactor toggle_display_mode function for improved clarity and performance in Demo.py
Sina1138
743539c
Add success handler for display mode toggle in Demo.py and improve title fetching fallback in interactive_processor.py
Sina1138
34bd850
Implement dark mode theme overrides to match light mode appearance in Demo.py
Sina1138
db8e2b5
Remove forced light theme script from Gradio initialization in Demo.py
Sina1138
2979714
Add script to enforce light theme before Gradio initialization
Sina1138
204d686
Update light theme handling in Demo.py for proper Gradio redirection
Sina1138
213f4fe
Remove forced light theme CSS overrides from Demo.py
Sina1138
575fa41
Force light theme in Demo.py to override dark mode settings
Sina1138
f79ada0
Force light theme on HF Spaces
Sina1138
05e9824
Skip ensure_device on ZeroGPU: GPU managed transparently by spaces library
Sina1138
ac2b45c
Force CPU on ZeroGPU: CUDA init not allowed in main process
Sina1138
1a50e25
Add @spaces.GPU decorated functions for ZeroGPU compatibility
Sina1138
269e282
Disable server-side rendering for demo launch
Sina1138
fefa128
Refactor process_interactive_reviews_fast to use string keys for thread states and add UUID
Sina1138
244b1bd
Remove old README content and add deployment script for Hugging Face Spaces
Sina1138
e26a8a6
Update .gitignore to include docs and knowledge_base directories
Sina1138
8cd3e46
Remove GPU decorator from process_interactive_reviews_fast for streamlined processing
Sina1138
11bcfa8
Add HuggingFace Spaces metadata README
Sina1138
3b2ff94
Update README for Hugging Face Spaces deployment; adjust metadata and optimize color scheme
Sina1138
e72383b
Refactor model references and enhance ZeroGPU support; update README and requirements for HF
Sina1138
fdaabfa
[Improvement - alpha] Implement RSARerankingCached for improved efficiency in interactive review processing; update import in interactive_processor.py to use cached version.
Sina1138
acf8e5e
Enhance interactive review processing by adding thread management for polarity and topic predictions; set optimal thread count for SLURM environments; update loss function to ignore padding tokens.
Sina1138
97c36d1
Add interactive legend HTML reset on new submission in Demo.py
Sina1138
4c02957
Add timing metrics for model loading and processing in interactive review; optimize polarity and topic prediction with batch processing; Remove threading for polarity and topic (huge CPU slowdown)
Sina1138
389ed35
Reduce max_length for model inputs to 256 tokens for improved performance; add BetterTransformer support for CPU speedup in interactive review processing.
Sina1138
af9d146
Refactor toggle button styles and enhance paper title heading in Demo.py; improve layout for better visibility and user interaction.
Sina1138
2f97768
Enhance jump button functionality and add color legends for polarity and topic modes in Demo.py; improve layout and styling for better user experience.
Sina1138
9ad32da
Add unified review card builder and format rebuttal as collapsible HTML in Demo.py
Sina1138
73692a4
Enhance interactive review processing in Demo.py; embed rebuttal HTML in review cards and improve progress display messages.
Sina1138
726e124
Refactor results section layout in Demo.py; improve vertical spacing and remove unnecessary wrapper for progress bars.
Sina1138
2027d7b
Refactor progress bar HTML for agreement and polarity computations; enhance ETA and elapsed time display in agreement progress function.
Sina1138
ece95cb
Add progress tracking for RSA computation in background and interactive processor
Sina1138
6a89f35
- Implement a progress callback in RSAReranking to report batch processing status.
- Enhance compute_rsa_in_background to yield progress updates with HTML representation.
- Update InteractiveReviewProcessor to accept a progress callback for RSA computations.
Add jump-to buttons and agreement progress bar in Demo.py; refactor review fetching in interactive_processor.py
Sina1138
d477af8
[Code Review] Enhance Demo.py and interactive_processor.py:
Sina1138
bcdc11a
- Introduce new functions for click-to-scroll and source badge rendering in Demo.py.
- Refactor listener distribution rendering for improved clarity and maintainability.
- Implement IQR-based normalization for uniqueness scores in interactive_processor.py.
Adjust agreement amplification settings in Demo.py for consistent color representation; Update gitignore.
Sina1138
1242075
Refactor and streamline review card rendering: consolidate HTML generation into a single function for collapsible cards and streamline rendering logic in review and agreement sections.
Sina1138
49eded7
Add common themes formatting: normalize polarity, group sentences by topic, and render polarity breakdown for improved review insights.
Sina1138
7fbbfc1
Add Expand/Collapse functionality for reviews and rebuttals, enhance HTML rendering for improved formatting, default to light mode
Sina1138
8ea388a
Add Expand/Collapse toggle for author responses in review section
Sina1138
d8b84f2
Fix UI elements: set default choice to "No Highlighting" and load initial data for pre-processed tab on page load.
Sina1138
448af14
Enhance RSA data handling: parse listener/speaker distributions from CSV, integrate into review metadata, and update visualization logic for improved agreement representation.
Sina1138
caf5ce4
Update pre-processed tab to have a consistent design as interactive tab.
Sina1138
7a14afe
Enhance opacity calculation in render_agreement_html: suppress blue opacity for highly concentrated listener responses to improve visual clarity.
Sina1138
5a18658
Refactor summary card rendering: remove _find_corresponding function, streamline HTML structure, and enhance collapsible elements for author responses and divergent opinions.
Sina1138
a0817e1
Add semantic similarity detection for sentences: implement _find_corresponding function to identify similar sentences across reviews and enhance summary card rendering with corresponding sentence matches.
Sina1138
623f4c7
Refactor summary card rendering: enhance review source badges, improve listener entropy ranking for common sentences, and streamline opacity calculations for agreement visualization.