Spaces:
Runtime error
Runtime error
Julien Ajdenbaum
commited on
Commit
•
08b7f00
1
Parent(s):
f233d16
removed link
Browse files- app.py +1 -1
- tmp/2415.png +0 -0
- tmp/6985.png +0 -0
- tmp/8442.png +0 -0
- tmp/981.png +0 -0
app.py
CHANGED
@@ -52,7 +52,7 @@ def predict(file, age, parent, gp):
|
|
52 |
for variant, risk, percent in zip(variants, risks, percents):
|
53 |
geneticRisks += f"Variant {variant} detected, risk of {risk} is {percent} higher.\n"
|
54 |
|
55 |
-
useful_products = ("Hydrating Shampoo : https://www.
|
56 |
"Light Hat : https://www.amazon.com/light-therapy-hat/s?k=light+therapy+hat")
|
57 |
return skio.imread("results.png"), 'Dermatitis\nDryness\nDandruff', geneticRisks, evolution_plot(age), useful_products
|
58 |
# GUI
|
|
|
52 |
for variant, risk, percent in zip(variants, risks, percents):
|
53 |
geneticRisks += f"Variant {variant} detected, risk of {risk} is {percent} higher.\n"
|
54 |
|
55 |
+
useful_products = ("Hydrating Shampoo : https://www.thisisthebestshampooforyou.fr/fr-fr/\n"
|
56 |
"Light Hat : https://www.amazon.com/light-therapy-hat/s?k=light+therapy+hat")
|
57 |
return skio.imread("results.png"), 'Dermatitis\nDryness\nDandruff', geneticRisks, evolution_plot(age), useful_products
|
58 |
# GUI
|
tmp/2415.png
DELETED
Binary file (19.7 kB)
|
|
tmp/6985.png
DELETED
Binary file (19.3 kB)
|
|
tmp/8442.png
DELETED
Binary file (19.3 kB)
|
|
tmp/981.png
DELETED
Binary file (19.4 kB)
|
|