caviri commited on
Commit
5fd0892
1 Parent(s): 8eb8f7e

Allowing writing jsons

Browse files
Files changed (2) hide show
  1. README.md +10 -3
  2. app/main.py +5 -0
README.md CHANGED
@@ -16,6 +16,7 @@ short_description: Digiwild
16
  docker build -t ordes/digiwild .
17
  ```
18
 
 
19
  ```
20
  docker run -it -p 7860:7860 ordes/digiwild:swallow
21
  ```
@@ -28,14 +29,20 @@ python3 main.py
28
  ### How to develop on docker
29
 
30
  ```
31
- docker run -it -p 7860:3333 -v $(pwd):/digiwild
32
  ```
33
 
 
 
 
 
 
 
 
34
  ## Needs
35
 
36
  - Camera with multiples pictures?
37
  - Uploading of pics
38
  - GPS location
39
  - Comments
40
- - Symptomps selection (Dropdown)
41
-
 
16
  docker build -t ordes/digiwild .
17
  ```
18
 
19
+
20
  ```
21
  docker run -it -p 7860:7860 ordes/digiwild:swallow
22
  ```
 
29
  ### How to develop on docker
30
 
31
  ```
32
+ docker run -it -p 7860:3333 -v $(pwd):/home/user/digiwild/
33
  ```
34
 
35
+ ## TODO
36
+
37
+ - [ ] Use in memory object instead of files to avoid writting / reading problems.
38
+ - [ ] Connection to a database? Maybe an open MongoDB
39
+ - [ ] GPS Compatibility
40
+ - [ ] New fields suggested
41
+
42
  ## Needs
43
 
44
  - Camera with multiples pictures?
45
  - Uploading of pics
46
  - GPS location
47
  - Comments
48
+ - Symptomps selection (Dropdown)
 
app/main.py CHANGED
@@ -70,6 +70,11 @@ with gr.Blocks(theme='shivi/calm_seafoam') as demo:
70
  visible=True, interactive=True, scale=1
71
  )
72
  clear_location.click()
 
 
 
 
 
73
 
74
  # ---------------------------------------------------------
75
  # ---------------------------------------------------------
 
70
  visible=True, interactive=True, scale=1
71
  )
72
  clear_location.click()
73
+
74
+ # TODO: Introduce text_box for Species
75
+
76
+ # TODO: Introduce text_box for comments
77
+
78
 
79
  # ---------------------------------------------------------
80
  # ---------------------------------------------------------