Junyi42 commited on
Commit
8278018
·
1 Parent(s): ba20cfe
Files changed (1) hide show
  1. app.py +1 -1
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=90):
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>