Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,9 +9,6 @@ import requests
|
|
| 9 |
from time import strftime, localtime
|
| 10 |
from streamlit_autorefresh import st_autorefresh
|
| 11 |
|
| 12 |
-
# update every 1 mins
|
| 13 |
-
st_autorefresh(interval= 60 * 1000, key="dataframerefresh")
|
| 14 |
-
|
| 15 |
|
| 16 |
sample_data = {
|
| 17 |
"gpus" : {
|
|
@@ -303,3 +300,5 @@ st.bar_chart(call_data)
|
|
| 303 |
st.title('Previous Blocks')
|
| 304 |
st.table(pd.DataFrame(sample_data['chain']))
|
| 305 |
|
|
|
|
|
|
|
|
|
| 9 |
from time import strftime, localtime
|
| 10 |
from streamlit_autorefresh import st_autorefresh
|
| 11 |
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
sample_data = {
|
| 14 |
"gpus" : {
|
|
|
|
| 300 |
st.title('Previous Blocks')
|
| 301 |
st.table(pd.DataFrame(sample_data['chain']))
|
| 302 |
|
| 303 |
+
# update every 1 mins
|
| 304 |
+
st_autorefresh(interval= 60 * 1000, key="dataframerefresh")
|