pratikskarnik
commited on
Commit
·
22b9a98
1
Parent(s):
4cfee44
fixed bug
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def predict(img):
|
|
12 |
|
13 |
title = "Face condition Analyzer"
|
14 |
description = "A face condition detector trained on the custom dataset with fastai. Created using Gradio and HuggingFace Spaces."
|
15 |
-
examples = ['harmonal_acne.jpg','forehead_wrinkles.jpg','oily_skin.jpg']
|
16 |
enable_queue=True
|
17 |
|
18 |
gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),title=title,
|
|
|
12 |
|
13 |
title = "Face condition Analyzer"
|
14 |
description = "A face condition detector trained on the custom dataset with fastai. Created using Gradio and HuggingFace Spaces."
|
15 |
+
examples = [['harmonal_acne.jpg'],['forehead_wrinkles.jpg'],['oily_skin.jpg']]
|
16 |
enable_queue=True
|
17 |
|
18 |
gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),title=title,
|