Maria Halvarsson
commited on
Commit
•
0b5a070
1
Parent(s):
ed49429
new
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def wine(type, volatile_acidity, citric_acid, chlorides, density, sulphates, alc
|
|
25 |
res = model.predict(df)
|
26 |
# We add '[0]' to the result of the transformed 'res', because 'res' is a list, and we only want
|
27 |
# the first element.
|
28 |
-
print("Res: {0}")
|
29 |
|
30 |
return res[0]
|
31 |
|
|
|
25 |
res = model.predict(df)
|
26 |
# We add '[0]' to the result of the transformed 'res', because 'res' is a list, and we only want
|
27 |
# the first element.
|
28 |
+
print(f"Res: {res[0]}")
|
29 |
|
30 |
return res[0]
|
31 |
|