Spaces:
Sleeping
Sleeping
fabiogra
commited on
Commit
•
3314a1f
1
Parent(s):
644834b
fix: typo full_path exists
Browse files- app/pages/Separate.py +1 -1
app/pages/Separate.py
CHANGED
@@ -140,7 +140,7 @@ def body():
|
|
140 |
key="select_example",
|
141 |
)
|
142 |
full_path = f"{in_path}/{name_song}"
|
143 |
-
if name_song != "" and (full_path).exists():
|
144 |
st.audio(full_path)
|
145 |
else:
|
146 |
name_song = None
|
|
|
140 |
key="select_example",
|
141 |
)
|
142 |
full_path = f"{in_path}/{name_song}"
|
143 |
+
if name_song != "" and Path(full_path).exists():
|
144 |
st.audio(full_path)
|
145 |
else:
|
146 |
name_song = None
|