Spaces:
No application file
No application file
Commit History
-
Enhance Gradio UI and Card Display Logic
This commit introduces several improvements and bug fixes to the Gradio application, enhancing user experience and display reliability. Key changes include: - **Multiple Submissions:** Resolved an issue preventing consecutive submissions without clearing state. `GradioEventHandler` is now instantiated per submission. - **OTS Content Reset:** Ensured the One-True-Shot (OTS) content area resets correctly to its default state for new queries. - **UI Card Rendering:** Improved the reliability of dynamic UI card rendering (players, games, teams) by adding explicit yield statements. - **Session Persistence:** Modified the "Clear State" functionality to preserve Zep and Freeplay session IDs, allowing users to continue their session. - **Card Display Priority:** Corrected the logic in `on_tool_end` to ensure game and team cards are displayed correctly, not just player cards. - **Semi-Final Game Cards:** Implemented a dedicated display for "semi-final" game cards, utilizing the existing game …407acbd