mangubee Claude Sonnet 4.5 commited on
Commit
24cb1b4
·
1 Parent(s): 81dad83

Fix: Add google-generativeai to requirements.txt

Browse files

HuggingFace deployment was failing with:
ModuleNotFoundError: No module named 'google.generativeai'

The code imports google.generativeai but requirements.txt
had google-genai (newer package with different API).

Changed requirements.txt to use google-generativeai>=0.8.0
to match the current code implementation.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

Files changed (1) hide show
  1. requirements.txt +1 -1
requirements.txt CHANGED
@@ -16,7 +16,7 @@ langchain-core>=0.3.0
16
  anthropic>=0.39.0
17
 
18
  # Free baseline alternatives
19
- google-genai>=0.2.0 # Gemini 2.0 Flash (updated package)
20
  huggingface-hub>=0.26.0 # For HF Inference API (Qwen, Llama)
21
 
22
  # ============================================================================
 
16
  anthropic>=0.39.0
17
 
18
  # Free baseline alternatives
19
+ google-generativeai>=0.8.0 # Gemini 2.0 Flash (current SDK used in code)
20
  huggingface-hub>=0.26.0 # For HF Inference API (Qwen, Llama)
21
 
22
  # ============================================================================