freddyaboulton HF staff commited on
Commit
3c1f124
1 Parent(s): 50f0b82

Upload folder using huggingface_hub

Browse files
Files changed (5) hide show
  1. Dockerfile +1 -1
  2. README.md +3 -3
  3. requirements.txt +3 -3
  4. src/README.md +9 -0
  5. src/pyproject.toml +2 -2
Dockerfile CHANGED
@@ -3,7 +3,7 @@ FROM python:3.9
3
 
4
  WORKDIR /code
5
 
6
- COPY . .
7
 
8
  RUN pip install --no-cache-dir -r requirements.txt
9
 
 
3
 
4
  WORKDIR /code
5
 
6
+ COPY --link --chown=1000 . .
7
 
8
  RUN pip install --no-cache-dir -r requirements.txt
9
 
README.md CHANGED
@@ -1,9 +1,9 @@
1
 
2
  ---
3
  tags: [gradio-custom-component]
4
- title: gradio_folium V0.0.1
5
- colorFrom: indigo
6
- colorTo: indigo
7
  sdk: docker
8
  pinned: false
9
  license: apache-2.0
 
1
 
2
  ---
3
  tags: [gradio-custom-component]
4
+ title: gradio_folium V0.0.2
5
+ colorFrom: green
6
+ colorTo: green
7
  sdk: docker
8
  pinned: false
9
  license: apache-2.0
requirements.txt CHANGED
@@ -1,3 +1,3 @@
1
- https://gradio-builds.s3.amazonaws.com/4.0/attempt-05/gradio-4.0.0-py3-none-any.whl
2
- https://gradio-builds.s3.amazonaws.com/4.0/attempt-05/gradio_client-0.7.0b0-py3-none-any.whl
3
- gradio_folium-0.0.1-py3-none-any.whl
 
1
+ https://gradio-builds.s3.amazonaws.com/4.0/attempt-06/gradio-4.0.0-py3-none-any.whl
2
+ https://gradio-builds.s3.amazonaws.com/4.0/attempt-06/gradio_client-0.7.0b0-py3-none-any.whl
3
+ gradio_folium-0.0.2-py3-none-any.whl
src/README.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ # gradio_folium
2
+ A Custom Gradio component for displaying maps built with Folium.
3
+
4
+ ## Example usage
5
+
6
+ ```python
7
+ import gradio as gr
8
+ from gradio_folium import Folium
9
+ ```
src/pyproject.toml CHANGED
@@ -8,7 +8,7 @@ build-backend = "hatchling.build"
8
 
9
  [project]
10
  name = "gradio_folium"
11
- version = "0.0.1"
12
  description = "Python library for easily interacting with trained machine learning models"
13
  license = "Apache-2.0"
14
  requires-python = ">=3.8"
@@ -41,7 +41,7 @@ classifiers = [
41
  dev = ["build", "twine"]
42
 
43
  [tool.hatch.build]
44
- artifacts = ["/backend/gradio_folium/templates", "*.pyi", "backend/gradio_folium/templates", "backend/gradio_folium/templates", "backend/gradio_folium/templates", "backend/gradio_folium/templates", "backend/gradio_folium/templates", "backend/gradio_folium/templates"]
45
 
46
  [tool.hatch.build.targets.wheel]
47
  packages = ["/backend/gradio_folium"]
 
8
 
9
  [project]
10
  name = "gradio_folium"
11
+ version = "0.0.2"
12
  description = "Python library for easily interacting with trained machine learning models"
13
  license = "Apache-2.0"
14
  requires-python = ">=3.8"
 
41
  dev = ["build", "twine"]
42
 
43
  [tool.hatch.build]
44
+ artifacts = ["/backend/gradio_folium/templates", "*.pyi", "backend/gradio_folium/templates", "backend/gradio_folium/templates", "backend/gradio_folium/templates", "backend/gradio_folium/templates", "backend/gradio_folium/templates", "backend/gradio_folium/templates", "backend/gradio_folium/templates"]
45
 
46
  [tool.hatch.build.targets.wheel]
47
  packages = ["/backend/gradio_folium"]