Commit
·
bb922d4
1
Parent(s):
fcf3d5f
Get env variable using python
Browse filesFinally read the docs
Vibe coding is bad
- src/streamlit_app.py +2 -3
src/streamlit_app.py
CHANGED
@@ -25,9 +25,8 @@ from PIL import Image
|
|
25 |
import streamlit as st
|
26 |
from streamlit_webrtc import VideoProcessorBase, webrtc_streamer, RTCConfiguration
|
27 |
|
28 |
-
|
29 |
-
|
30 |
-
auth_token = st.secrets.get("AUTH_TOKEN")
|
31 |
if account_sid and auth_token:
|
32 |
try:
|
33 |
twilio_client = Client(account_sid, auth_token)
|
|
|
25 |
import streamlit as st
|
26 |
from streamlit_webrtc import VideoProcessorBase, webrtc_streamer, RTCConfiguration
|
27 |
|
28 |
+
account_sid = os.environ.get("ACCOUNT_SID")
|
29 |
+
auth_token = os.environ.get("AUTH_TOKEN")
|
|
|
30 |
if account_sid and auth_token:
|
31 |
try:
|
32 |
twilio_client = Client(account_sid, auth_token)
|