Spaces:
Sleeping
Sleeping
replaced shape with width and height
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ File: recognize.py
|
|
| 3 |
Project: BulgarianPatternsRecognizer
|
| 4 |
Author: Milko Videv (milko.videv@thalesgroup.com)
|
| 5 |
-----
|
| 6 |
-
Last Modified:
|
| 7 |
Modified By: Milko Videv (milko.videv@thalesgroup.com>)
|
| 8 |
-----
|
| 9 |
Copyright 2017 - 2024, Thales DIS, MCS SSH
|
|
@@ -31,7 +31,7 @@ def render():
|
|
| 31 |
|
| 32 |
demo = gr.Interface(fn=predict,
|
| 33 |
theme=gr.themes.Monochrome(primary_hue=slate),
|
| 34 |
-
inputs=gr.components.Image(
|
| 35 |
outputs=gr.components.Label(num_top_classes=3, label="Резултат"),
|
| 36 |
title=title,
|
| 37 |
description=description,
|
|
|
|
| 3 |
Project: BulgarianPatternsRecognizer
|
| 4 |
Author: Milko Videv (milko.videv@thalesgroup.com)
|
| 5 |
-----
|
| 6 |
+
Last Modified: Wednesday, 6th March 2024 9:31:26 am
|
| 7 |
Modified By: Milko Videv (milko.videv@thalesgroup.com>)
|
| 8 |
-----
|
| 9 |
Copyright 2017 - 2024, Thales DIS, MCS SSH
|
|
|
|
| 31 |
|
| 32 |
demo = gr.Interface(fn=predict,
|
| 33 |
theme=gr.themes.Monochrome(primary_hue=slate),
|
| 34 |
+
inputs=gr.components.Image(width=512, height=512, interactive=True, label="Шевица"),
|
| 35 |
outputs=gr.components.Label(num_top_classes=3, label="Резултат"),
|
| 36 |
title=title,
|
| 37 |
description=description,
|