jervinjosh68 commited on
Commit
8980024
1 Parent(s): 88a6081

added sample image and changed app.py

Browse files
Files changed (4) hide show
  1. app.py +4 -4
  2. test_img2.jpg +0 -0
  3. test_img3.jpg +0 -0
  4. weight.pth +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def get_file(url,path,filename, chunk_size=128):
16
 
17
 
18
  def predict(image_name):
19
- labels = {0:"1-40", 1: "41-60" , 2: "61 and above"}
20
  model.eval()
21
 
22
 
@@ -40,9 +40,9 @@ def preprocess(image_name):
40
 
41
  def run_gradio():
42
 
43
- title = "AQC_NET PH"
44
- description = "trial AQC_NET"
45
- examples = ["test_image.jpg","test_img.jpg"]
46
  inputs = [
47
  gr.inputs.Image(type="pil", label="Input Image")
48
  ]
 
16
 
17
 
18
  def predict(image_name):
19
+ labels = {0:"1-20", 1: "21-40" , 2: "41 and above"}
20
  model.eval()
21
 
22
 
 
40
 
41
  def run_gradio():
42
 
43
+ title = "AQC_NET PH - EEE199 Student Project"
44
+ description = "AQC_NET PH is an image-based deep learning model finetuned on a data-set created in the National Capital Region of Philippines using a Nova PM SDS011 Sensor"
45
+ examples = ["test_img.jpg","test_img2.jpg","test_img3.jpg"]
46
  inputs = [
47
  gr.inputs.Image(type="pil", label="Input Image")
48
  ]
test_img2.jpg ADDED
test_img3.jpg ADDED
weight.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a7ab9f4fd5f46749bbf7f1c63c443e88cfe55e455e5258d59d2d07a59b35075e
3
  size 44931181
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbe18d38d733d904af6bbb30487e1d0a9975369d88f0d8f0f9ff6f459cd366d5
3
  size 44931181