ginipick commited on
Commit
8df1777
·
verified ·
1 Parent(s): 5475f41

fix: 2-phase model/space fetch — basic info immediate + LLM best-effort + sort fallback (resolves empty models/spaces issue)

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -2156,12 +2156,7 @@ class AdvancedAIAnalyzer:
2156
  print(f" ⚠️ DB 최종 저장 오류: {e}")
2157
 
2158
  return spaces_list
2159
-
2160
- except Exception as e:
2161
- print(f"❌ 스페이스 수집 오류: {e}")
2162
- print("💾 DB에서 이전 데이터 로드 시도...\n")
2163
- return load_spaces_from_db()
2164
-
2165
  def analyze_all_news(self) -> List[Dict]:
2166
  """모든 뉴스에 LLM 분석 추가"""
2167
  print("📰 뉴스 LLM 분석 시작...\n")
 
2156
  print(f" ⚠️ DB 최종 저장 오류: {e}")
2157
 
2158
  return spaces_list
2159
+
 
 
 
 
 
2160
  def analyze_all_news(self) -> List[Dict]:
2161
  """모든 뉴스에 LLM 분석 추가"""
2162
  print("📰 뉴스 LLM 분석 시작...\n")