import streamlit as st import io, sys, time from utils import * from client import CobotController import uuid @st.cache_resource def create_cobot_client(): user_id = get_user_id() user, passwd, host, endpoint, port = get_credentials() client = CobotController(user, passwd, host, port, endpoint, user_id) @st.cache_resource def get_user_id2(): return str(uuid.uuid4()) st.write(get_user_id2()) # render_log_window() # for i in range(10): # print(f"logger: {i}") # time.sleep(1)