Spaces:
Sleeping
Sleeping
if -> is
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ def greet(grabacion, modelo="base"):
|
|
| 16 |
y = y.astype(np.float32)
|
| 17 |
y /= np.max(np.abs(y))
|
| 18 |
|
| 19 |
-
if modelo
|
| 20 |
pipe = pipe_base
|
| 21 |
else:
|
| 22 |
pipe = pipe_small
|
|
|
|
| 16 |
y = y.astype(np.float32)
|
| 17 |
y /= np.max(np.abs(y))
|
| 18 |
|
| 19 |
+
if modelo is not None and modelo == "base":
|
| 20 |
pipe = pipe_base
|
| 21 |
else:
|
| 22 |
pipe = pipe_small
|