Spaces:
Runtime error
Runtime error
SebastianoMeneghin
commited on
Commit
·
34075f4
1
Parent(s):
9a7223d
Update app.py
Browse files
app.py
CHANGED
@@ -34,6 +34,7 @@ def iris(type, fixed_acid, volatile_acid, citric_acid, residual_sugar, chlorides
|
|
34 |
|
35 |
# 'res' is a list of predictions returned as the label.
|
36 |
res = model.predict(df)
|
|
|
37 |
|
38 |
flower_url = "https://raw.githubusercontent.com/SebastianoMeneghin/fotografie_iris/main/" + str(res[0]) + ".png"
|
39 |
response = requests.get(flower_url, stream=True)
|
|
|
34 |
|
35 |
# 'res' is a list of predictions returned as the label.
|
36 |
res = model.predict(df)
|
37 |
+
print(res[0])
|
38 |
|
39 |
flower_url = "https://raw.githubusercontent.com/SebastianoMeneghin/fotografie_iris/main/" + str(res[0]) + ".png"
|
40 |
response = requests.get(flower_url, stream=True)
|