Update app.py
Browse files
app.py
CHANGED
@@ -14,9 +14,9 @@ def yolo(im, size=640):
|
|
14 |
return Image.fromarray(results.imgs[0])
|
15 |
inputs = gr.inputs.Image(type='pil', label="Original Image")
|
16 |
outputs = gr.outputs.Image(type="pil", label="Output Image")
|
17 |
-
title = "
|
18 |
-
description = "
|
19 |
-
article = "
|
20 |
examples = [['soccer.jpg'], ['bus.jpg']]
|
21 |
gr.Interface(yolo, inputs, outputs, title=title, description=description, article=article, examples=examples, theme="huggingface").launch(
|
22 |
debug=True)
|
|
|
14 |
return Image.fromarray(results.imgs[0])
|
15 |
inputs = gr.inputs.Image(type='pil', label="Original Image")
|
16 |
outputs = gr.outputs.Image(type="pil", label="Output Image")
|
17 |
+
title = "Определение элементов"
|
18 |
+
description = "Находит на картинке элементы"
|
19 |
+
article = "тест"
|
20 |
examples = [['soccer.jpg'], ['bus.jpg']]
|
21 |
gr.Interface(yolo, inputs, outputs, title=title, description=description, article=article, examples=examples, theme="huggingface").launch(
|
22 |
debug=True)
|