Spaces:
Runtime error
Runtime error
Update app.py
Browse files13 unmodified lines141516171819202177 unmodified lines9910010110010110210310410510610210310410513 unmodified linesimport country_converter as cocoimport time
if 'start_time' not in st.session_state: st.session_state.start_time = time.time()
current_dir = os.path.dirname(os.path.abspath(__file__))font_path = os.path.join(current_dir, "ArabicR2013-J25x.ttf")77 unmodified lines layout="wide")
timer_placeholder = st.sidebar.empty()start_time = time.time()
while True: elapsed = int(time.time() - start_time) timer_placeholder.markdown(f"⏱️ Time Elapsed: {elapsed} seconds") time.sleep(1)st.text(f"⏱️ {int(time.time() - st.session_state.start_time)}s") @st.cache_resourcedef load_models():app.py+3-7