cursor 썸네일형 리스트형 Streamlit 과 Chat GPT로 6시간 만에 웹 배포하기 https://chat4you.streamlit.app/ 비밀이야기This app was built in Streamlit! Check it out and visit https://streamlit.io for more awesome community apps. 🎈chat4you.streamlit.app이 챗을 6시간 만에 만들었다. 1. Cursor를 사용하면 streamlit library를 포함한 python code를 너무나 쉽게 짤 수있다. Cursor에서 chat을 보기위한 단축키는 Ctrl+L이다.. 2. 이렇게 짠 Code를 Github에 올린다. 3. Streamlit 로그인할때 Github로 로그인하게 되면, 처음에는 본인의 Public space만 보인다. 혹시 Private.. 더보기 How to deploy in Streamlit with Unsplash API (Streamlit에서 Unsplash, chatgpt API 사용 보안 관련 문제) 1. Cursor로 Code를 생성하면 Unsplash는 이런 코드를 준다.UNSPLASH_ACCESS_KEY ="키넣어주세요" def get_random_image(): try: # Unsplash API를 사용하여 가로형 무작위 이미지 가져오기 response = requests.get( f"https://api.unsplash.com/photos/random?orientation=landscape&client_id={UNSPLASH_ACCESS_KEY}" ) response.raise_for_status() # HTTP 오류가 발생하면 예외를 발생시킵니다. data = response.json() .. 더보기 이전 1 다음