Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def input_img(img):
|
|
38 |
processed_output=(f"This is a: {race}./nProbability it's a black person: {probs[0]:.4f}.\nProbability it's a white person: {probs[1]:.4f}")
|
39 |
return processed_output
|
40 |
|
41 |
-
im=PILImage.create(img)
|
42 |
im=PILImage.create('img')
|
43 |
im.thumbnail((192,192))
|
44 |
|
|
|
38 |
processed_output=(f"This is a: {race}./nProbability it's a black person: {probs[0]:.4f}.\nProbability it's a white person: {probs[1]:.4f}")
|
39 |
return processed_output
|
40 |
|
41 |
+
#im=PILImage.create(img)
|
42 |
im=PILImage.create('img')
|
43 |
im.thumbnail((192,192))
|
44 |
|