How to clear st_keyup input box

dear boss

The st_keyup input box verifies the character length when the user enters data; however, it does not clear the input box after checking the length of this textbox. Please review my code and provide suggestions on how to clear this st_keyup textbox after verifying the character length.

see my jcode

‘‘‘

import streamlit as st

from st_keyup import st_keyup

svalue=‘’

value = st_keyup(“Enter a value”, value = svalue ,key=“0”)

if len(value)==5 :

svalue = ''

value=''

# ttt.

‘‘‘