GIanlucaRub commited on
Commit
db8d6f5
·
1 Parent(s): 85aeebb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -52,8 +52,8 @@ def passenger(Pclass, Age, SibSp, Parch, Fare, Sex, Embarked):
52
  res = str(res[0])
53
  # We add '[0]' to the result of the transformed 'res', because 'res' is a list, and we only want
54
  # the first element.
55
- #passenger_url = "https://raw.githubusercontent.com/GianlucaRub/Scalable-Machine-Learning-and-Deep-Learning/main/lab1/assets/" + res + ".png"
56
- passenger_url = "https://github.com/GianlucaRub/Scalable-Machine-Learning-and-Deep-Learning/blob/main/lab1/assets/" + res + ".png"
57
  img = Image.open(requests.get(passenger_url, stream=True).raw)
58
  return img
59
 
 
52
  res = str(res[0])
53
  # We add '[0]' to the result of the transformed 'res', because 'res' is a list, and we only want
54
  # the first element.
55
+ passenger_url = "https://raw.githubusercontent.com/GianlucaRub/Scalable-Machine-Learning-and-Deep-Learning/main/lab1/assets/" + res + ".png"
56
+ #passenger_url = "https://github.com/GianlucaRub/Scalable-Machine-Learning-and-Deep-Learning/blob/main/lab1/assets/" + res + ".png"
57
  img = Image.open(requests.get(passenger_url, stream=True).raw)
58
  return img
59