remove old requirements file
This commit is contained in:
parent
7b4ce44f51
commit
f5c606e16f
|
@ -58,7 +58,7 @@ stages:
|
||||||
cache:
|
cache:
|
||||||
key:
|
key:
|
||||||
files:
|
files:
|
||||||
- api/requirements.txt
|
- api/requirements/base.txt
|
||||||
paths:
|
paths:
|
||||||
- .cache/pip
|
- .cache/pip
|
||||||
policy: pull-push
|
policy: pull-push
|
||||||
|
|
|
@ -10,7 +10,7 @@ check-venv:
|
||||||
if [ -z $${VIRTUAL_ENV+x} ]; then echo "Are you sure you want to install dependencies outside of a virtual environment?"; sleep 30; fi
|
if [ -z $${VIRTUAL_ENV+x} ]; then echo "Are you sure you want to install dependencies outside of a virtual environment?"; sleep 30; fi
|
||||||
|
|
||||||
pip: check-venv
|
pip: check-venv
|
||||||
pip install -r requirements.txt
|
pip install -r requirements/base.txt
|
||||||
|
|
||||||
pip-dev: check-venv
|
pip-dev: check-venv
|
||||||
pip install -r requirements/dev.txt
|
pip install -r requirements/dev.txt
|
||||||
|
|
|
@ -1,26 +0,0 @@
|
||||||
### Specific versions ###
|
|
||||||
numpy>=1.20,<1.24
|
|
||||||
protobuf<4,>=3.20.2
|
|
||||||
|
|
||||||
### AI packages ###
|
|
||||||
accelerate
|
|
||||||
diffusers
|
|
||||||
onnx
|
|
||||||
onnxruntime
|
|
||||||
safetensors
|
|
||||||
transformers
|
|
||||||
|
|
||||||
#### Upscaling and face correction
|
|
||||||
basicsr
|
|
||||||
codeformer-perceptor
|
|
||||||
facexlib
|
|
||||||
gfpgan
|
|
||||||
realesrgan
|
|
||||||
|
|
||||||
### Server packages ###
|
|
||||||
boto3
|
|
||||||
flask
|
|
||||||
flask-cors
|
|
||||||
jsonschema
|
|
||||||
pyyaml
|
|
||||||
setproctitle
|
|
|
@ -1052,7 +1052,7 @@ differentiate between them.
|
||||||
Using `python3` and `pip3` _instead of_ `python` and `pip` in the commands should resolve this issue:
|
Using `python3` and `pip3` _instead of_ `python` and `pip` in the commands should resolve this issue:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
> pip3 install -r requirements.txt # for example, you may be running a different command
|
> pip3 install -r requirements/base.txt # for example, you may be running a different command
|
||||||
```
|
```
|
||||||
|
|
||||||
#### AttributeError: module 'numpy' has no attribute 'float'
|
#### AttributeError: module 'numpy' has no attribute 'float'
|
||||||
|
|
Loading…
Reference in New Issue