Spaces:
Sleeping
Sleeping
Commit
·
e6d7d6b
1
Parent(s):
6d0902b
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ def predict_price(year, month, markets, food):
|
|
48 |
|
49 |
prediction = model.predict(input_data)
|
50 |
|
51 |
-
food_url = "https://raw.githubusercontent.com/TimiUU/wine/main" + food + ".png"
|
52 |
img = Image.open(requests.get(food_url, stream=True).raw)
|
53 |
|
54 |
return prediction, img
|
|
|
48 |
|
49 |
prediction = model.predict(input_data)
|
50 |
|
51 |
+
food_url = "https://raw.githubusercontent.com/TimiUU/wine/main/" + food + ".png"
|
52 |
img = Image.open(requests.get(food_url, stream=True).raw)
|
53 |
|
54 |
return prediction, img
|