Update Requirements.txt

#1

use "diffusers[torch]"
in place of
git+https://github.com/huggingface/diffusers.git

Reason:
To standardized dependencies and package installations.
Some virtual environments would require an additional step with installing git to their venv prior to installing requirements.txt.

(ocrenv) C:\Users\123\Spaces\OCR>pip install -r requirements.txt
Collecting git+https://github.com/huggingface/diffusers.git (from -r requirements.txt (line 1))
Cloning https://github.com/huggingface/diffusers.git to C:\Users\123\AppData\Local\Temp\pip-req-build-usmv2et3
ERROR: Error [WinError 2] The system cannot find the file specified while executing command git version
ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?

Cannot merge
This branch has merge conflicts in the following files:
  • requirements.txt

Sign up or log in to comment