Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,14 @@ def guessanImage(model, image):
|
|
18 |
description = imgclassifier(image)
|
19 |
return description
|
20 |
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
|
23 |
demo = gr.Interface(
|
24 |
fn=guessanImage,
|
|
|
18 |
description = imgclassifier(image)
|
19 |
return description
|
20 |
|
21 |
+
with gr.Blocks() as demo:
|
22 |
+
with gr.Tab("Lion"):
|
23 |
+
radio = gr.Radio(["microsoft/resnet-50", "google/vit-base-patch16-224", "apple/mobilevit-small"], label="Select a Classifier", info="Image Classifier?")
|
24 |
+
|
25 |
+
with gr.Tab("Tiger"):
|
26 |
+
radio = gr.Radio(["zzmicrosoft/resnet-50", "google/vit-base-patch16-224", "apple/mobilevit-small"], label="Select a Classifier", info="Image Classifier?")
|
27 |
+
|
28 |
+
|
29 |
|
30 |
demo = gr.Interface(
|
31 |
fn=guessanImage,
|