Spaces:
Runtime error
Runtime error
swithing models (_test.h5 works)
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
### -------------------------------- ###
|
2 |
### libraries ###
|
3 |
### -------------------------------- ###
|
4 |
import gradio as gr
|
@@ -9,7 +9,7 @@ from tensorflow.keras.models import load_model
|
|
9 |
### -------------------------------- ###
|
10 |
### model loading ###
|
11 |
### -------------------------------- ###
|
12 |
-
model = load_model('
|
13 |
|
14 |
## --------------------------------- ###
|
15 |
### reading: categories.txt ###
|
|
|
1 |
+
3### -------------------------------- ###
|
2 |
### libraries ###
|
3 |
### -------------------------------- ###
|
4 |
import gradio as gr
|
|
|
9 |
### -------------------------------- ###
|
10 |
### model loading ###
|
11 |
### -------------------------------- ###
|
12 |
+
model = load_model('model.h5') # single file model from colab
|
13 |
|
14 |
## --------------------------------- ###
|
15 |
### reading: categories.txt ###
|