Spaces:
No application file
No application file
Update get_st_secrets.py
Browse files- tools/get_st_secrets.py +7 -0
tools/get_st_secrets.py
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Template for custom function or Pydantic model."""
|
| 2 |
+
|
| 3 |
+
import streamlit as st
|
| 4 |
+
|
| 5 |
+
def get_st_secrets() -> dict:
|
| 6 |
+
"""Get the secrets of streamlit."""
|
| 7 |
+
return st.secrets
|