Noah Vriese
commited on
Commit
·
654eb07
1
Parent(s):
aac4532
Update visualization
Browse files
app.py
CHANGED
@@ -60,12 +60,12 @@ def predict(input_img):
|
|
60 |
input_img = obj.draw(
|
61 |
image=input_img,
|
62 |
draw_boxes=True,
|
63 |
-
draw_centroids=
|
64 |
draw_text=True,
|
65 |
draw_projections=False,
|
66 |
box_display_type="minimal",
|
67 |
-
fill_text_background=
|
68 |
-
box_line_thickness=
|
69 |
box_corner_length=15,
|
70 |
text_scale=0.6,
|
71 |
obfuscate_classes=[],
|
@@ -93,4 +93,4 @@ gradio_app = gr.Interface(
|
|
93 |
)
|
94 |
|
95 |
if __name__ == "__main__":
|
96 |
-
gradio_app.launch()
|
|
|
60 |
input_img = obj.draw(
|
61 |
image=input_img,
|
62 |
draw_boxes=True,
|
63 |
+
draw_centroids=False,
|
64 |
draw_text=True,
|
65 |
draw_projections=False,
|
66 |
box_display_type="minimal",
|
67 |
+
fill_text_background=True,
|
68 |
+
box_line_thickness=2,
|
69 |
box_corner_length=15,
|
70 |
text_scale=0.6,
|
71 |
obfuscate_classes=[],
|
|
|
93 |
)
|
94 |
|
95 |
if __name__ == "__main__":
|
96 |
+
gradio_app.launch(share=True)
|