aym1king commited on
Commit
57f1607
1 Parent(s): 7b136b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def wine(type_, fixed_acidity, volatile_acidity, citric_acid, residual_sugar, ch
30
  # the first element.
31
  # print("Res: {0}").format(res)
32
  print(res)
33
- wine_url = "https://raw.githubusercontent.com/aym1king/serverless-intro/master/wine/wine_imgs/" + res[0] + ".png"
34
  img = Image.open(requests.get(wine_url, stream=True).raw)
35
  return img
36
 
 
30
  # the first element.
31
  # print("Res: {0}").format(res)
32
  print(res)
33
+ wine_url = "https://raw.githubusercontent.com/aym1king/serverless-intro/master/wine/wine_imgs/" + str(int(res[0])) + ".png"
34
  img = Image.open(requests.get(wine_url, stream=True).raw)
35
  return img
36