Spaces:
Sleeping
Sleeping
Arifin
commited on
Commit
·
4cc1ca5
1
Parent(s):
9542747
urutan
Browse files
app.py
CHANGED
|
@@ -100,8 +100,8 @@ iface = gr.Interface(
|
|
| 100 |
outputs=[
|
| 101 |
gr.outputs.Image(type="pil"),
|
| 102 |
"json", # JSON output
|
| 103 |
-
gr.outputs.Textbox(label="
|
| 104 |
-
gr.outputs.
|
| 105 |
],
|
| 106 |
title="Tim CCG",
|
| 107 |
description="Enter the URL of an image to perform rust detection and calculate corrosion areas.",
|
|
|
|
| 100 |
outputs=[
|
| 101 |
gr.outputs.Image(type="pil"),
|
| 102 |
"json", # JSON output
|
| 103 |
+
gr.outputs.Textbox(label="CSV Data", type="text"), # CSV data as a plain text
|
| 104 |
+
gr.outputs.Textbox(label="Corrosion Data"), # Display CSV data as a table
|
| 105 |
],
|
| 106 |
title="Tim CCG",
|
| 107 |
description="Enter the URL of an image to perform rust detection and calculate corrosion areas.",
|