diff --git a/TFinder-v1.py b/TFinder-v1.py index 9b74c77c..2381c7be 100644 --- a/TFinder-v1.py +++ b/TFinder-v1.py @@ -130,10 +130,11 @@ def load_lottiefile(filepath: str): if 'LOCAL' not in st.session_state: local_test = platform.processor() - print("Platform:", local_test) + if local_test == "": st.session_state["LOCAL"] = 'False' else: + print("Platform:", local_test) st.session_state["LOCAL"] = 'True' if st.session_state["LOCAL"] == 'False':