Irina Tolstykh
commited on
Commit
•
f14a122
1
Parent(s):
768a7be
new example
Browse files- app.py +1 -0
- images/Elon_Musk_2015.jpg +0 -0
- images/jennifer_lawrence.jpg +0 -0
app.py
CHANGED
@@ -92,6 +92,7 @@ prediction_func_v2 = functools.partial(detect, predictor=predictor_v2)
|
|
92 |
image_dir = pathlib.Path('images')
|
93 |
examples = [[path.as_posix(), 0.4, 0.7, "Use persons and faces"] for path in sorted(image_dir.glob('*.jpg'))]
|
94 |
|
|
|
95 |
with gr.Blocks(theme=gr.themes.Default(), css="style.css") as demo_v1:
|
96 |
with gr.Row():
|
97 |
with gr.Column():
|
|
|
92 |
image_dir = pathlib.Path('images')
|
93 |
examples = [[path.as_posix(), 0.4, 0.7, "Use persons and faces"] for path in sorted(image_dir.glob('*.jpg'))]
|
94 |
|
95 |
+
|
96 |
with gr.Blocks(theme=gr.themes.Default(), css="style.css") as demo_v1:
|
97 |
with gr.Row():
|
98 |
with gr.Column():
|
images/Elon_Musk_2015.jpg
ADDED
images/jennifer_lawrence.jpg
DELETED
Binary file (416 kB)
|
|