Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ def predict_mushroom(*inputs):
|
|
68 |
|
69 |
demo = gr.Interface(
|
70 |
fn=predict_mushroom,
|
71 |
-
inputs=[gr.Dropdown(choices=list(options.
|
72 |
outputs="text",
|
73 |
title="MycoNom - Mushroom Edibility Classifier",
|
74 |
description="Select the mushroom features to determine if it's edible or poisonous.<br><br>**Disclaimer:** This model is for **educational purposes only** and should not be used for real-life mushroom classification or any decision-making processes related to the consumption of mushrooms. While the model performs well on the provided dataset, it has not been thoroughly validated for real-world scenarios and may not accurately detect poisonous mushrooms in all conditions. Always consult an expert or use trusted resources when identifying mushrooms."
|
|
|
68 |
|
69 |
demo = gr.Interface(
|
70 |
fn=predict_mushroom,
|
71 |
+
inputs=[gr.Dropdown(choices=list(options.values()), label=feature) for feature, options in feature_options.items()],
|
72 |
outputs="text",
|
73 |
title="MycoNom - Mushroom Edibility Classifier",
|
74 |
description="Select the mushroom features to determine if it's edible or poisonous.<br><br>**Disclaimer:** This model is for **educational purposes only** and should not be used for real-life mushroom classification or any decision-making processes related to the consumption of mushrooms. While the model performs well on the provided dataset, it has not been thoroughly validated for real-world scenarios and may not accurately detect poisonous mushrooms in all conditions. Always consult an expert or use trusted resources when identifying mushrooms."
|