Spaces:
Sleeping
Sleeping
praysimanjuntak
commited on
Commit
•
6db1ec2
1
Parent(s):
45a33d5
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def annotate_image(image):
|
|
45 |
iface = gr.Interface(
|
46 |
fn=annotate_image,
|
47 |
inputs=gr.Image(type="pil"),
|
48 |
-
outputs=[
|
49 |
title="TB-Bacillus Detection",
|
50 |
description="Upload an image to get annotated results from the model."
|
51 |
)
|
|
|
45 |
iface = gr.Interface(
|
46 |
fn=annotate_image,
|
47 |
inputs=gr.Image(type="pil"),
|
48 |
+
outputs=[gr.Image(label='Hasil'), gr.Text(label='Total bakteri terdeteksi')],
|
49 |
title="TB-Bacillus Detection",
|
50 |
description="Upload an image to get annotated results from the model."
|
51 |
)
|