Update app.py
Browse files
app.py
CHANGED
|
@@ -18,6 +18,7 @@ if plt == 'Linux': pathlib.WindowsPath = pathlib.PosixPath
|
|
| 18 |
title = "Face condition Analyzer"
|
| 19 |
description = "A face condition detector trained on the custom dataset with fastai. Created using Gradio and HuggingFace Spaces."
|
| 20 |
examples = [['harmonal_acne.jpg'],['forehead_wrinkles.jpg'],['oily_skin.jpg']]
|
|
|
|
| 21 |
|
| 22 |
# gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),title=title,
|
| 23 |
# description=description,examples=examples,enable_queue=enable_queue).launch()
|
|
|
|
| 18 |
title = "Face condition Analyzer"
|
| 19 |
description = "A face condition detector trained on the custom dataset with fastai. Created using Gradio and HuggingFace Spaces."
|
| 20 |
examples = [['harmonal_acne.jpg'],['forehead_wrinkles.jpg'],['oily_skin.jpg']]
|
| 21 |
+
enable_queue=True
|
| 22 |
|
| 23 |
# gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),title=title,
|
| 24 |
# description=description,examples=examples,enable_queue=enable_queue).launch()
|