Update pages/type_text.py
Browse files- pages/type_text.py +2 -2
pages/type_text.py
CHANGED
@@ -13,8 +13,8 @@ def get_device_map() -> str:
|
|
13 |
return 'cuda' if torch.cuda.is_available() else 'cpu'
|
14 |
device = get_device_map() # 'cpu'
|
15 |
|
16 |
-
|
17 |
-
|
18 |
|
19 |
#@st.cache
|
20 |
def convert_df(df:pd.DataFrame):
|
|
|
13 |
return 'cuda' if torch.cuda.is_available() else 'cpu'
|
14 |
device = get_device_map() # 'cpu'
|
15 |
|
16 |
+
def on_click():
|
17 |
+
st.session_state.user_input = ""
|
18 |
|
19 |
#@st.cache
|
20 |
def convert_df(df:pd.DataFrame):
|