lynz1910 commited on
Commit
c8bb9b1
Β·
verified Β·
1 Parent(s): 3fc5880

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -12
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
- interface = gr.Interface(
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
- interface.launch()
 
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()