Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -78,21 +78,21 @@ def gradio_interface(image, weight):
|
|
78 |
|
79 |
image_input = gr.Image(
|
80 |
label="Изображение",
|
81 |
-
width=
|
82 |
-
height=
|
83 |
)
|
84 |
weight_input = gr.Number(label="Вес (кг)")
|
85 |
image_output = gr.Image(
|
86 |
label="Распознанный товар",
|
87 |
type="numpy",
|
88 |
-
width=
|
89 |
-
height=
|
90 |
)
|
91 |
receipt_output = gr.Image(
|
92 |
label="Чек",
|
93 |
type="pil",
|
94 |
-
width=
|
95 |
-
height=
|
96 |
)
|
97 |
|
98 |
gr.Interface(
|
|
|
78 |
|
79 |
image_input = gr.Image(
|
80 |
label="Изображение",
|
81 |
+
width=510,
|
82 |
+
height=380
|
83 |
)
|
84 |
weight_input = gr.Number(label="Вес (кг)")
|
85 |
image_output = gr.Image(
|
86 |
label="Распознанный товар",
|
87 |
type="numpy",
|
88 |
+
width=510,
|
89 |
+
height=380
|
90 |
)
|
91 |
receipt_output = gr.Image(
|
92 |
label="Чек",
|
93 |
type="pil",
|
94 |
+
width=400,
|
95 |
+
height=400
|
96 |
)
|
97 |
|
98 |
gr.Interface(
|