Spaces:
Runtime error
Runtime error
Updated metrics
Browse files
app.py
CHANGED
|
@@ -49,7 +49,7 @@ def allure(image, gender):
|
|
| 49 |
judgement = "moderately altered"
|
| 50 |
elif authenticity_score > 50:
|
| 51 |
judgement = "toonish or very altered"
|
| 52 |
-
|
| 53 |
return composite, hotness_score, beauty_score, attractiveness_score, f"{authenticity_score} ({judgement})"
|
| 54 |
|
| 55 |
|
|
@@ -74,9 +74,11 @@ theme.set(input_radius="64px",
|
|
| 74 |
button_large_radius='64px',
|
| 75 |
button_small_radius='64px',
|
| 76 |
block_label_radius='64px',
|
| 77 |
-
block_label_right_radius='64px',
|
| 78 |
-
block_title_radius='64px'
|
| 79 |
-
|
|
|
|
|
|
|
| 80 |
theme.radius_lg = '64px'
|
| 81 |
|
| 82 |
with gr.Interface(
|
|
|
|
| 49 |
judgement = "moderately altered"
|
| 50 |
elif authenticity_score > 50:
|
| 51 |
judgement = "toonish or very altered"
|
| 52 |
+
|
| 53 |
return composite, hotness_score, beauty_score, attractiveness_score, f"{authenticity_score} ({judgement})"
|
| 54 |
|
| 55 |
|
|
|
|
| 74 |
button_large_radius='64px',
|
| 75 |
button_small_radius='64px',
|
| 76 |
block_label_radius='64px',
|
| 77 |
+
# block_label_right_radius='64px',
|
| 78 |
+
# block_title_radius='64px',
|
| 79 |
+
body_background_fill=theme.body_background_fill_dark,
|
| 80 |
+
|
| 81 |
+
)
|
| 82 |
theme.radius_lg = '64px'
|
| 83 |
|
| 84 |
with gr.Interface(
|