Upload folder using huggingface_hub

#1
Files changed (1) hide show
  1. apis/state.mjs +1 -1
apis/state.mjs CHANGED
@@ -45,7 +45,7 @@ export class StateManager {
45
 
46
  const spaces = [];
47
  // Fetch up to 10 for dev/demo to avoid rate limit
48
- for (const spaceSummary of spacesData.slice(0, 5)) {
49
  try {
50
  const fullSpace = await client.getSpaceStatus(spaceSummary.id);
51
  spaces.push({
 
45
 
46
  const spaces = [];
47
  // Fetch up to 10 for dev/demo to avoid rate limit
48
+ for (const spaceSummary of spacesData) {
49
  try {
50
  const fullSpace = await client.getSpaceStatus(spaceSummary.id);
51
  spaces.push({