Update app.py
Browse files
app.py
CHANGED
@@ -78,14 +78,7 @@ body {
|
|
78 |
border: 2px solid rgba(30, 144, 255, 1); /* Border lebih tegas saat hover */
|
79 |
}
|
80 |
"""
|
81 |
-
|
82 |
-
fn=detect_acne,
|
83 |
-
inputs=gr.Image(type="numpy", label="Upload an image"),
|
84 |
-
outputs=[
|
85 |
-
gr.Image(type="numpy", label="Annotated Image"),
|
86 |
-
gr.Textbox(label="Detection Result"),
|
87 |
-
gr.Textbox(label="Treatment Suggestion")
|
88 |
-
],
|
89 |
title="π AiCNE π",
|
90 |
description=(
|
91 |
"<div style='text-align: center;'>"
|
@@ -93,8 +86,7 @@ interface = gr.Interface(
|
|
93 |
"Upload a clear image of your face to analyze and classify acne types.<br>"
|
94 |
"<b>Get instant results</b> and take a step closer to understanding your skin!"
|
95 |
"</div>"
|
96 |
-
)
|
97 |
-
css=custom_css
|
98 |
-
)
|
99 |
|
100 |
-
|
|
|
78 |
border: 2px solid rgba(30, 144, 255, 1); /* Border lebih tegas saat hover */
|
79 |
}
|
80 |
"""
|
81 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
title="π AiCNE π",
|
83 |
description=(
|
84 |
"<div style='text-align: center;'>"
|
|
|
86 |
"Upload a clear image of your face to analyze and classify acne types.<br>"
|
87 |
"<b>Get instant results</b> and take a step closer to understanding your skin!"
|
88 |
"</div>"
|
89 |
+
)
|
90 |
+
css=custom_css
|
|
|
91 |
|
92 |
+
demo.launch()
|