Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -661,7 +661,7 @@ def main():
|
|
| 661 |
with refresh_placeholder:
|
| 662 |
if time_since_last_call < 300:
|
| 663 |
remaining_time = 300 - time_since_last_call
|
| 664 |
-
time.sleep(min(remaining_time,
|
| 665 |
st.rerun()
|
| 666 |
|
| 667 |
if __name__ == "__main__":
|
|
|
|
| 661 |
with refresh_placeholder:
|
| 662 |
if time_since_last_call < 300:
|
| 663 |
remaining_time = 300 - time_since_last_call
|
| 664 |
+
time.sleep(min(remaining_time, 300)) # 그래프 5분마다 렌더링
|
| 665 |
st.rerun()
|
| 666 |
|
| 667 |
if __name__ == "__main__":
|