Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,13 +51,6 @@ image = gr.inputs.Image(shape=(300, 300), label="Upload Your Image Here")
|
|
| 51 |
label = gr.outputs.Label(num_top_classes=len(labels))
|
| 52 |
|
| 53 |
samples = [["samples/" + p + ".jpg"] for p in labels]
|
| 54 |
-
|
| 55 |
-
css = '''
|
| 56 |
-
.confidence{
|
| 57 |
-
color: white;
|
| 58 |
-
}
|
| 59 |
-
|
| 60 |
-
'''
|
| 61 |
|
| 62 |
interface = gr.Interface(
|
| 63 |
fn=predict_image,
|
|
@@ -68,6 +61,6 @@ interface = gr.Interface(
|
|
| 68 |
title="🦈 Shark image classifier",
|
| 69 |
description="Made with HugsVision & ❤️",
|
| 70 |
examples=samples,
|
| 71 |
-
|
| 72 |
)
|
| 73 |
interface.launch()
|
|
|
|
| 51 |
label = gr.outputs.Label(num_top_classes=len(labels))
|
| 52 |
|
| 53 |
samples = [["samples/" + p + ".jpg"] for p in labels]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
|
| 55 |
interface = gr.Interface(
|
| 56 |
fn=predict_image,
|
|
|
|
| 61 |
title="🦈 Shark image classifier",
|
| 62 |
description="Made with HugsVision & ❤️",
|
| 63 |
examples=samples,
|
| 64 |
+
theme='default'
|
| 65 |
)
|
| 66 |
interface.launch()
|