Spaces:
Sleeping
Sleeping
small fix
Browse files- pag/monitor.py +3 -4
pag/monitor.py
CHANGED
@@ -325,10 +325,9 @@ def monitor_fields():
|
|
325 |
st.session_state['api_token'] = ''
|
326 |
st.session_state['api_token_confirmed'] = False
|
327 |
if not st.session_state['api_token_confirmed']:
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
st.info("For Testing purposes, you can use: TEST_TOKEN")
|
332 |
api_token = st.text_input("API Token", key="api_token_input", help="Enter the API Token From SNET")
|
333 |
if st.button("submit API Token", key="confirm_api_token"):
|
334 |
if utils.confirm_api_token(api_token):
|
|
|
325 |
st.session_state['api_token'] = ''
|
326 |
st.session_state['api_token_confirmed'] = False
|
327 |
if not st.session_state['api_token_confirmed']:
|
328 |
+
st.warning("No Valid API Token Found")
|
329 |
+
st.info("You can get the API Token from the Service Page on the SNET Platform (link to the service page)")
|
330 |
+
st.info("For Testing purposes, you can use: TEST_TOKEN")
|
|
|
331 |
api_token = st.text_input("API Token", key="api_token_input", help="Enter the API Token From SNET")
|
332 |
if st.button("submit API Token", key="confirm_api_token"):
|
333 |
if utils.confirm_api_token(api_token):
|