puyao commited on
Commit
e3a8848
·
1 Parent(s): f04c163

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -48,6 +48,11 @@ def predict_price(year, month, markets, food):
48
 
49
  prediction = model.predict(input_data)
50
 
 
 
 
 
 
51
  return prediction
52
 
53
 
 
48
 
49
  prediction = model.predict(input_data)
50
 
51
+ food_url = "https://raw.githubusercontent.com/TimiUU/wine/main" + commodity_name[0] + ".png"
52
+ img = Image.open(requests.get(flower_url, stream=True).raw)
53
+
54
+ print(img)
55
+
56
  return prediction
57
 
58