Spaces:
Running
Running
added "predict" line in app.py
Browse files
app.py
CHANGED
@@ -52,5 +52,6 @@ gr.Interface(
|
|
52 |
inputs=gr.Image(type="numpy"),
|
53 |
outputs="json",
|
54 |
title="LeukoLook Eye Detector API",
|
55 |
-
description="API for the LeukoLook project."
|
|
|
56 |
).launch()
|
|
|
52 |
inputs=gr.Image(type="numpy"),
|
53 |
outputs="json",
|
54 |
title="LeukoLook Eye Detector API",
|
55 |
+
description="API for the LeukoLook project.",
|
56 |
+
api_name="predict" # <--- ADD THIS LINE
|
57 |
).launch()
|