Spaces:
Sleeping
Sleeping
minor
Browse files
app.py
CHANGED
|
@@ -163,7 +163,7 @@ def main() -> None:
|
|
| 163 |
assert request.session_hash is not None
|
| 164 |
|
| 165 |
# Check RAM usage before starting visualization
|
| 166 |
-
if not check_ram_usage(threshold_percent=
|
| 167 |
return """
|
| 168 |
<div style="text-align: center; padding: 20px; background-color: #ffeeee; border-radius: 5px;">
|
| 169 |
<h2>⚠️ Server is currently under high load</h2>
|
|
|
|
| 163 |
assert request.session_hash is not None
|
| 164 |
|
| 165 |
# Check RAM usage before starting visualization
|
| 166 |
+
if not check_ram_usage(threshold_percent=100):
|
| 167 |
return """
|
| 168 |
<div style="text-align: center; padding: 20px; background-color: #ffeeee; border-radius: 5px;">
|
| 169 |
<h2>⚠️ Server is currently under high load</h2>
|