Spaces:
Runtime error
Runtime error
Commit
·
2fd48d2
1
Parent(s):
477c1fd
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def wine(fixed_acidity, volatile_acidity, citric_acid, residual_sugar, chlorides
|
|
32 |
# print("Res: {0}").format(res)
|
33 |
print(res)
|
34 |
|
35 |
-
star_url = "https://raw.githubusercontent.com/SamuelHarner/review-images/main/images/" + str(res[0]) + "_stars.png"
|
36 |
img = Image.open(requests.get(star_url, stream=True).raw)
|
37 |
return img
|
38 |
|
|
|
32 |
# print("Res: {0}").format(res)
|
33 |
print(res)
|
34 |
|
35 |
+
star_url = "https://raw.githubusercontent.com/SamuelHarner/review-images/main/images/" + str(res[0]+1) + "_stars.png"
|
36 |
img = Image.open(requests.get(star_url, stream=True).raw)
|
37 |
return img
|
38 |
|