Spaces:
Sleeping
Sleeping
Update app.py
Browse files209 unmodified lines210211212213214213214215216217209 unmodified lines return str(n) # EXACT MATCH wants bare number # Deterministic LLM fallback constrained to description only yt_sys = ( "Return ONLY the number (digits only, no words, no punctuation). " "Count the distinct bird species explicitly mentioned in the official video description." "Answer with ONLY the final number. Use only the official video description text. " "Count distinct bird species explicitly mentioned (e.g., Emperor penguin, Adélie penguin, Giant petrel)." ) raw = self._llm(f"{yt_sys}\n\nQuestion: {question}") num = _extract_bare_number(raw)app.py+2-2