Implemented reset functionality to clear Gradio interface fields without clearing chat history. Updated `reset_chat()` to simulate a UI refresh by clearing input, output, and history fields while retaining chat context. 29962c5 Phoenix21 commited on Feb 4, 2025
RESET FUNCTION WAS THE ISSUE FOR THE CHAT HISTORY FORGETTING 958d474 Phoenix21 commited on Feb 4, 2025
COMMENTED RESET BUTTON TO SEE WHETHER BAD RESPONSE IS BECAUSE OF IT 8ff42bd Phoenix21 commited on Feb 4, 2025
CHANGED ORIGINAL APP.PY TO APPeithoutResetButton.py and added new app.py e757d5f Phoenix21 commited on Feb 4, 2025