Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -98,7 +98,7 @@ def predict_percept(image):
|
|
| 98 |
outputs = emotion_model(img)
|
| 99 |
predicted = outputs.argmax(1).item()
|
| 100 |
|
| 101 |
-
iqa_score = np.mean(
|
| 102 |
min_iqa_pred = -100
|
| 103 |
max_iqa_pred = 100
|
| 104 |
max_iqa_score = 0
|
|
|
|
| 98 |
outputs = emotion_model(img)
|
| 99 |
predicted = outputs.argmax(1).item()
|
| 100 |
|
| 101 |
+
iqa_score = np.mean(iqa_score)
|
| 102 |
min_iqa_pred = -100
|
| 103 |
max_iqa_pred = 100
|
| 104 |
max_iqa_score = 0
|