GianlucaRub commited on
Commit
85aeebb
·
1 Parent(s): 645a761

updated assets path

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -52,7 +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
  img = Image.open(requests.get(passenger_url, stream=True).raw)
57
  return img
58
 
 
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