Spaces:
Sleeping
Sleeping
dev-deg commited on
Commit ·
e74527f
1
Parent(s): 30d1897
minor fix
Browse files
app.py
CHANGED
|
@@ -10,11 +10,10 @@ def process_image(input_image):
|
|
| 10 |
|
| 11 |
# Define the Gradio interface
|
| 12 |
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
iface.launch(auth=("admin", "pass1234"), share=True)
|
|
|
|
| 10 |
|
| 11 |
# Define the Gradio interface
|
| 12 |
|
| 13 |
+
iface = gr.Interface(
|
| 14 |
+
fn=process_image,
|
| 15 |
+
inputs="image",
|
| 16 |
+
outputs=["image", "text"],
|
| 17 |
+
title="AMBULANT Benthic Identification System"
|
| 18 |
+
)
|
| 19 |
+
iface.launch(auth=("admin", "pass1234"), share=True)
|
|
|