Spaces:
Runtime error
Runtime error
Use string as years
Browse files
app.py
CHANGED
@@ -148,7 +148,7 @@ def process_func(x: np.ndarray, sampling_rate: int) -> dict:
|
|
148 |
results.append(y[0])
|
149 |
|
150 |
return (
|
151 |
-
100 * results[0][0], # age
|
152 |
{
|
153 |
"female": results[0][1],
|
154 |
"male": results[0][2],
|
|
|
148 |
results.append(y[0])
|
149 |
|
150 |
return (
|
151 |
+
f"{round(100 * results[0][0])} years", # age
|
152 |
{
|
153 |
"female": results[0][1],
|
154 |
"male": results[0][2],
|