Update app.py
Browse files
app.py
CHANGED
@@ -305,7 +305,7 @@ def analyze_face(img, actions=['age', 'gender', 'race', 'emotion']):
|
|
305 |
emotion_conf = f"{conf:.1f}%"
|
306 |
break
|
307 |
|
308 |
-
ax = plt.subplot2grid((2, 4), (0 if i < 2 else 1, 2 + (i % 2))
|
309 |
|
310 |
text = (
|
311 |
f"Face #{i+1}\n\n"
|
|
|
305 |
emotion_conf = f"{conf:.1f}%"
|
306 |
break
|
307 |
|
308 |
+
ax = plt.subplot2grid((2, 4), (0 if i < 2 else 1, 2 + (i % 2)))
|
309 |
|
310 |
text = (
|
311 |
f"Face #{i+1}\n\n"
|