edgargg commited on
Commit
59eb03f
1 Parent(s): 1c2cd17

Upload folder using huggingface_hub

Browse files
Files changed (5) hide show
  1. Dockerfile +1 -2
  2. README.md +2 -2
  3. requirements.txt +0 -1
  4. src/README.md +0 -3
  5. src/pyproject.toml +2 -2
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
 
2
- FROM python:3.10
3
 
4
  WORKDIR /code
5
 
@@ -9,7 +9,6 @@ RUN mkdir -p /tmp/cache/
9
  RUN chmod a+rwx -R /tmp/cache/
10
  ENV TRANSFORMERS_CACHE=/tmp/cache/
11
 
12
- RUN pip install --no-cache-dir --upgrade pip
13
  RUN pip install --no-cache-dir -r requirements.txt
14
 
15
  ENV PYTHONUNBUFFERED=1 GRADIO_ALLOW_FLAGGING=never GRADIO_NUM_PORTS=1 GRADIO_SERVER_NAME=0.0.0.0 GRADIO_SERVER_PORT=7860 SYSTEM=spaces
 
1
 
2
+ FROM python:3.9
3
 
4
  WORKDIR /code
5
 
 
9
  RUN chmod a+rwx -R /tmp/cache/
10
  ENV TRANSFORMERS_CACHE=/tmp/cache/
11
 
 
12
  RUN pip install --no-cache-dir -r requirements.txt
13
 
14
  ENV PYTHONUNBUFFERED=1 GRADIO_ALLOW_FLAGGING=never GRADIO_NUM_PORTS=1 GRADIO_SERVER_NAME=0.0.0.0 GRADIO_SERVER_PORT=7860 SYSTEM=spaces
README.md CHANGED
@@ -1,8 +1,8 @@
1
 
2
  ---
3
  tags: [gradio-custom-component,gradio-template-Image,bounding box,annotator,annotate,boxes]
4
- title: gradio_image_annotation V0.0.3
5
- colorFrom: gray
6
  colorTo: red
7
  sdk: docker
8
  pinned: false
 
1
 
2
  ---
3
  tags: [gradio-custom-component,gradio-template-Image,bounding box,annotator,annotate,boxes]
4
+ title: gradio_image_annotation V0.0.4
5
+ colorFrom: red
6
  colorTo: red
7
  sdk: docker
8
  pinned: false
requirements.txt CHANGED
@@ -1,2 +1 @@
1
- gradio>=4.24.0
2
  gradio_image_annotation==0.0.3.post1
 
 
1
  gradio_image_annotation==0.0.3.post1
src/README.md CHANGED
@@ -426,6 +426,3 @@ The code snippet below is accurate in cases where the component is used as both
426
  return value
427
  ```
428
 
429
- ## Screenshots
430
- ![](https://raw.githubusercontent.com/edgarGracia/gradio_image_annotator/main/images/demo_1.png)
431
- ![](https://raw.githubusercontent.com/edgarGracia/gradio_image_annotator/main/images/demo_2.png)
 
426
  return value
427
  ```
428
 
 
 
 
src/pyproject.toml CHANGED
@@ -8,7 +8,7 @@ build-backend = "hatchling.build"
8
 
9
  [project]
10
  name = "gradio_image_annotation"
11
- version = "0.0.3-1"
12
  description = "A Gradio component that can be used to annotate images with bounding boxes."
13
  readme = "README.md"
14
  license = "MIT"
@@ -40,7 +40,7 @@ Issues = "https://github.com/edgarGracia/gradio_image_annotator/issues"
40
  dev = ["build", "twine"]
41
 
42
  [tool.hatch.build]
43
- artifacts = ["/backend/gradio_image_annotation/templates", "*.pyi", "backend/gradio_image_annotation/templates", "backend/gradio_image_annotation/templates", "backend/gradio_image_annotation/templates", "backend/gradio_image_annotation/templates", "backend/gradio_image_annotation/templates", "backend/gradio_image_annotation/templates", "backend/gradio_image_annotation/templates"]
44
 
45
  [tool.hatch.build.targets.wheel]
46
  packages = ["/backend/gradio_image_annotation"]
 
8
 
9
  [project]
10
  name = "gradio_image_annotation"
11
+ version = "0.0.4"
12
  description = "A Gradio component that can be used to annotate images with bounding boxes."
13
  readme = "README.md"
14
  license = "MIT"
 
40
  dev = ["build", "twine"]
41
 
42
  [tool.hatch.build]
43
+ artifacts = ["/backend/gradio_image_annotation/templates", "*.pyi", "backend/gradio_image_annotation/templates", "backend/gradio_image_annotation/templates", "backend/gradio_image_annotation/templates", "backend/gradio_image_annotation/templates", "backend/gradio_image_annotation/templates", "backend/gradio_image_annotation/templates", "backend/gradio_image_annotation/templates", "backend/gradio_image_annotation/templates", "backend/gradio_image_annotation/templates", "backend/gradio_image_annotation/templates"]
44
 
45
  [tool.hatch.build.targets.wheel]
46
  packages = ["/backend/gradio_image_annotation"]