akhaliq HF Staff commited on
Commit
31e58b5
·
1 Parent(s): 77dda44

update system prompt

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -6094,7 +6094,9 @@ Instructions:
6094
  - Use correct PyPI package names (e.g., cv2 -> opencv-python, PIL -> Pillow, sklearn -> scikit-learn)
6095
  - IMPORTANT: For diffusers, ALWAYS use: git+https://github.com/huggingface/diffusers
6096
  - IMPORTANT: For transformers, ALWAYS use: git+https://github.com/huggingface/transformers
 
6097
  - Examples of comprehensive dependencies:
 
6098
  * transformers often needs: accelerate, torch, tokenizers, datasets
6099
  * gradio often needs: requests, Pillow for image handling
6100
  * pandas often needs: numpy, openpyxl for Excel files
 
6094
  - Use correct PyPI package names (e.g., cv2 -> opencv-python, PIL -> Pillow, sklearn -> scikit-learn)
6095
  - IMPORTANT: For diffusers, ALWAYS use: git+https://github.com/huggingface/diffusers
6096
  - IMPORTANT: For transformers, ALWAYS use: git+https://github.com/huggingface/transformers
6097
+ - IMPORTANT: If diffusers is installed, also include transformers and sentencepiece as they usually go together
6098
  - Examples of comprehensive dependencies:
6099
+ * diffusers often needs: git+https://github.com/huggingface/transformers, sentencepiece, accelerate, torch, tokenizers
6100
  * transformers often needs: accelerate, torch, tokenizers, datasets
6101
  * gradio often needs: requests, Pillow for image handling
6102
  * pandas often needs: numpy, openpyxl for Excel files