Spaces:
Sleeping
Sleeping
shawnljw
commited on
Commit
·
80744df
1
Parent(s):
5a41ea2
update installation instructions
Browse files- README.md +3 -12
- environment.yml +0 -11
- requirements.txt +3 -3
README.md
CHANGED
@@ -8,24 +8,15 @@ This [Colab notebook](https://colab.research.google.com/drive/1S91AsP2XHUKuxtUBE
|
|
8 |
|
9 |
## Usage
|
10 |
|
11 |
-
|
12 |
|
13 |
-
|
14 |
|
15 |
```shell
|
16 |
-
conda env create -f environment.yml
|
17 |
-
conda activate image2coloringbook
|
18 |
-
```
|
19 |
-
|
20 |
-
Otherwise create a virtual environment and install with pip
|
21 |
-
|
22 |
-
```shell
|
23 |
-
python -m venv image2coloringbook
|
24 |
-
image2coloringbook\Scripts\activate.bat
|
25 |
pip install -r requirements.txt
|
26 |
```
|
27 |
|
28 |
-
Once all requirements are installed, you can run the web ui with
|
29 |
|
30 |
```shell
|
31 |
gradio app.py
|
|
|
8 |
|
9 |
## Usage
|
10 |
|
11 |
+
To run the application locally, cloned this repo and open the directory in your terminal.
|
12 |
|
13 |
+
Install all requirements with pip:
|
14 |
|
15 |
```shell
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
pip install -r requirements.txt
|
17 |
```
|
18 |
|
19 |
+
Once all requirements are installed, you can run the web ui with:
|
20 |
|
21 |
```shell
|
22 |
gradio app.py
|
environment.yml
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
name: image2coloringbook
|
2 |
-
channels:
|
3 |
-
- conda-forge
|
4 |
-
- defaults
|
5 |
-
dependencies:
|
6 |
-
- python=3.10
|
7 |
-
- gradio=3.23.0
|
8 |
-
- numpy=1.26.0
|
9 |
-
- opencv=4.6.0
|
10 |
-
- tqdm=4.66.1
|
11 |
-
- scikit-learn=1.3.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
requirements.txt
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
gradio==3.23.0
|
2 |
numpy==1.26.0
|
3 |
-
opencv==4.6.0
|
4 |
tqdm==4.66.1
|
5 |
-
|
|
|
|
|
|
|
|
1 |
numpy==1.26.0
|
|
|
2 |
tqdm==4.66.1
|
3 |
+
gradio==3.46.0
|
4 |
+
scikit-learn==1.3.1
|
5 |
+
opencv-python==4.8.1.78
|