Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -39,9 +39,7 @@ def predict_mushroom(features):
|
|
39 |
|
40 |
demo = gr.Interface(
|
41 |
fn=predict_mushroom,
|
42 |
-
inputs=gr.
|
43 |
-
gr.Dropdown(choices=list(options.keys()), label=feature) for feature, options in feature_options.items()
|
44 |
-
]),
|
45 |
outputs="text",
|
46 |
title="MycoNom - Mushroom Edibility Classifier",
|
47 |
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."
|
|
|
39 |
|
40 |
demo = gr.Interface(
|
41 |
fn=predict_mushroom,
|
42 |
+
inputs=[gr.Dropdown(choices=list(options.keys()), label=feature) for feature, options in feature_options.items()],
|
|
|
|
|
43 |
outputs="text",
|
44 |
title="MycoNom - Mushroom Edibility Classifier",
|
45 |
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."
|