Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ PATH='best_model.h5'
|
|
| 36 |
#getData(flid=model,path=PATH)
|
| 37 |
|
| 38 |
# For example images
|
| 39 |
-
#
|
| 40 |
# dest_path='/content/examples.zip',
|
| 41 |
# unzip=True)
|
| 42 |
|
|
@@ -47,10 +47,10 @@ model=load_model(PATH)
|
|
| 47 |
labels=['Cat','Dog']
|
| 48 |
NUM_CLASSES=2
|
| 49 |
IMG_SIZE=224
|
| 50 |
-
ex=[['
|
| 51 |
-
['
|
| 52 |
-
['
|
| 53 |
-
['
|
| 54 |
|
| 55 |
"""
|
| 56 |
## RUNNING WEB UI"""
|
|
|
|
| 36 |
#getData(flid=model,path=PATH)
|
| 37 |
|
| 38 |
# For example images
|
| 39 |
+
#gdd.download_file_from_google_drive(file_id='1LdB6ZE9vxPi4HNN2emqJSoP0ig9DiG10',
|
| 40 |
# dest_path='/content/examples.zip',
|
| 41 |
# unzip=True)
|
| 42 |
|
|
|
|
| 47 |
labels=['Cat','Dog']
|
| 48 |
NUM_CLASSES=2
|
| 49 |
IMG_SIZE=224
|
| 50 |
+
ex=[['cat2.jpg'],
|
| 51 |
+
['cat3.jpg'],
|
| 52 |
+
['dog2.jpeg'],
|
| 53 |
+
['dog.jpeg']]
|
| 54 |
|
| 55 |
"""
|
| 56 |
## RUNNING WEB UI"""
|