Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,6 @@
|
|
| 13 |
|
| 14 |
import tensorflow_addons as tfa
|
| 15 |
import gradio as gr
|
| 16 |
-
import cv2
|
| 17 |
import tensorflow as tf
|
| 18 |
import numpy as np
|
| 19 |
from tensorflow.keras.models import load_model
|
|
@@ -44,7 +43,7 @@ model1='1TNF6uZBvcIfEUwzIR8t4L1kuImxb6PES'
|
|
| 44 |
model2='1cK1cIYdczAoEPkiNZUqx2r1UqF2idcay'
|
| 45 |
model3='1ldVcjryLk-YFfLRyNYdut5WeLLNxJ8ab'
|
| 46 |
model = model1 #@param ["model1", "model2","model3"] {type:"raw"}
|
| 47 |
-
PATH='
|
| 48 |
#getData(flid=model,path=PATH)
|
| 49 |
|
| 50 |
# For example images
|
|
|
|
| 13 |
|
| 14 |
import tensorflow_addons as tfa
|
| 15 |
import gradio as gr
|
|
|
|
| 16 |
import tensorflow as tf
|
| 17 |
import numpy as np
|
| 18 |
from tensorflow.keras.models import load_model
|
|
|
|
| 43 |
model2='1cK1cIYdczAoEPkiNZUqx2r1UqF2idcay'
|
| 44 |
model3='1ldVcjryLk-YFfLRyNYdut5WeLLNxJ8ab'
|
| 45 |
model = model1 #@param ["model1", "model2","model3"] {type:"raw"}
|
| 46 |
+
PATH='best_model.h5'
|
| 47 |
#getData(flid=model,path=PATH)
|
| 48 |
|
| 49 |
# For example images
|