aws bedrock streamlit
1.0.0
| ? 공사중이신가요?
streamlit run main.py
URL에 " true
"로 할당된 쿼리 매개변수 "debug"를 추가합니다. 예: http://localhost:8501/?debug=true.
streamlit run --server.runOnSave true main.py
쿼리 매개변수 "profile"을 추가하고 URL에 프로필 이름으로 할당합니다. 예: http://localhost:8501/?profile=default
URL에 쿼리 매개변수 "debug"가 설정되어 있는지 확인하세요.
if st . query_params . get ( 'debug' ):
# Show debug information widget
AWS 자격 증명은 사이드바에 할당되고 Streamlit의 세션 상태로 저장되며, st.session_state['aws_session']
호출하여 가져온 다음 그로부터 하위 수준 클라이언트를 생성합니다.
# E.g.: Create a S3 client
s3 = st . session_state [ 'aws_session' ]. client ( 's3' )
false
( config.toml
)