hualinxin8615 commited on
Commit
d0146ca
·
verified ·
1 Parent(s): c56e0ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -611,7 +611,7 @@ def load_balance_user(student_id):
611
  raise gr.Error("🚫 No student learning assistant spaces found in the system. Please contact your instructor.", duration=8)
612
 
613
  # Analyze space activity (including both remote and local allocation records)
614
- space_activity = analyze_space_activity(available_spaces, LOCAL_DATA_DIR)
615
 
616
  # Select space with enhanced collision avoidance
617
  return select_space_with_enhanced_collision_avoidance(space_activity, student_id, repo)
 
611
  raise gr.Error("🚫 No student learning assistant spaces found in the system. Please contact your instructor.", duration=8)
612
 
613
  # Analyze space activity (including both remote and local allocation records)
614
+ space_activity = analyze_space_activity_optimized(available_spaces, LOCAL_DATA_DIR)
615
 
616
  # Select space with enhanced collision avoidance
617
  return select_space_with_enhanced_collision_avoidance(space_activity, student_id, repo)