Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -82,8 +82,8 @@ def gradio_interface(image, weight):
|
|
82 |
|
83 |
image_input = gr.Image(label="Изображение")
|
84 |
weight_input = gr.Number(label="Вес (кг)")
|
85 |
-
image_output = gr.Image(label="Распознанный фрукт")
|
86 |
-
receipt_output = gr.Image(label="Чек")
|
87 |
|
88 |
gr.Interface(
|
89 |
fn=gradio_interface,
|
|
|
82 |
|
83 |
image_input = gr.Image(label="Изображение")
|
84 |
weight_input = gr.Number(label="Вес (кг)")
|
85 |
+
image_output = gr.Image(label="Распознанный фрукт", type="numpy")
|
86 |
+
receipt_output = gr.Image(label="Чек", type="numpy")
|
87 |
|
88 |
gr.Interface(
|
89 |
fn=gradio_interface,
|