Maria Halvarsson commited on
Commit
0b5a070
1 Parent(s): ed49429
Files changed (1) hide show
  1. app.py +1 -1
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}").format(res)
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