Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ def predict_image(img):
|
|
| 42 |
return f"There is a {confidence_score*100:.2f}% chance for this image to be in {class_name}. Since the accuracy is very low, please consider a doctor's advice and we recommend you not to rely on our predictions."
|
| 43 |
|
| 44 |
|
| 45 |
-
# Launch the Gradio
|
| 46 |
iface = gr.Interface(fn=predict_image, inputs="image", outputs="text", title="Bee4Med - Skin Disease Classifier",
|
| 47 |
description="""This is a machine learning model that predicts skin disease from an image(limited dataset). Which is
|
| 48 |
-->Acne and Rosacea category
|
|
|
|
| 42 |
return f"There is a {confidence_score*100:.2f}% chance for this image to be in {class_name}. Since the accuracy is very low, please consider a doctor's advice and we recommend you not to rely on our predictions."
|
| 43 |
|
| 44 |
|
| 45 |
+
# Launch the Gradio interfac
|
| 46 |
iface = gr.Interface(fn=predict_image, inputs="image", outputs="text", title="Bee4Med - Skin Disease Classifier",
|
| 47 |
description="""This is a machine learning model that predicts skin disease from an image(limited dataset). Which is
|
| 48 |
-->Acne and Rosacea category
|