Spaces:
Runtime error
Runtime error
Fixed issue in resolving sleep function caused by import time.time elsewhere
Browse files
pages/900_System_Status.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
-
import
|
| 3 |
|
| 4 |
from src.st_helpers import st_setup
|
| 5 |
from src.common import *
|
|
@@ -54,5 +54,5 @@ if st_setup('LLM Arch'):
|
|
| 54 |
|
| 55 |
if refresh:
|
| 56 |
with st.spinner('Updating every 10 seconds...'):
|
| 57 |
-
|
| 58 |
st.rerun()
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
+
from time import sleep
|
| 3 |
|
| 4 |
from src.st_helpers import st_setup
|
| 5 |
from src.common import *
|
|
|
|
| 54 |
|
| 55 |
if refresh:
|
| 56 |
with st.spinner('Updating every 10 seconds...'):
|
| 57 |
+
sleep(10)
|
| 58 |
st.rerun()
|