Spaces:
Runtime error
Runtime error
Commit
·
429f507
1
Parent(s):
dfaf856
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def wine(alcohol, chlorides, density, type, volatil_acidity,fixed_acidity, citri
|
|
27 |
print("Predicting")
|
28 |
print(df)
|
29 |
|
30 |
-
if type
|
31 |
res = model_red.predict(df)
|
32 |
print(res)
|
33 |
wine_url = "https://raw.githubusercontent.com/Anniyuku/wine_quality/main/" + res[0] + ".png"
|
|
|
27 |
print("Predicting")
|
28 |
print(df)
|
29 |
|
30 |
+
if type == 0:
|
31 |
res = model_red.predict(df)
|
32 |
print(res)
|
33 |
wine_url = "https://raw.githubusercontent.com/Anniyuku/wine_quality/main/" + res[0] + ".png"
|