Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ categories = open("categories.txt", "r")
|
|
18 |
labels = categories.readline().split(";")
|
19 |
|
20 |
# create a radio
|
21 |
-
radio = gr.inputs.Radio(models_name, default="
|
22 |
|
23 |
def predict_image(image, model_name):
|
24 |
# model create by keras
|
|
|
18 |
labels = categories.readline().split(";")
|
19 |
|
20 |
# create a radio
|
21 |
+
radio = gr.inputs.Radio(models_name, default="DenseNet121", type="value")
|
22 |
|
23 |
def predict_image(image, model_name):
|
24 |
# model create by keras
|