fix: update requirements and code for gradio 4 compatibility abf7246 thinhlpg commited on Jun 13, 2024