Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -123,7 +123,7 @@ def infer(image_in):
|
|
| 123 |
|
| 124 |
print(f"arrows coordinates: {arrows_coordinates}")
|
| 125 |
|
| 126 |
-
return "Image_result.png", "Arrows_on_same_blank.png", arrows_coordinates
|
| 127 |
|
| 128 |
gr.Interface(
|
| 129 |
fn=infer,
|
|
@@ -134,7 +134,7 @@ gr.Interface(
|
|
| 134 |
outputs=[
|
| 135 |
gr.Image(),
|
| 136 |
gr.Image(),
|
| 137 |
-
gr.
|
| 138 |
|
| 139 |
]
|
| 140 |
).launch()
|
|
|
|
| 123 |
|
| 124 |
print(f"arrows coordinates: {arrows_coordinates}")
|
| 125 |
|
| 126 |
+
return "Image_result.png", "Arrows_on_same_blank.png", f"{arrows_coordinates}"
|
| 127 |
|
| 128 |
gr.Interface(
|
| 129 |
fn=infer,
|
|
|
|
| 134 |
outputs=[
|
| 135 |
gr.Image(),
|
| 136 |
gr.Image(),
|
| 137 |
+
gr.Textbox()
|
| 138 |
|
| 139 |
]
|
| 140 |
).launch()
|