Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,6 +46,8 @@ def dl(inp,img=None):
|
|
| 46 |
return out
|
| 47 |
|
| 48 |
def diarize_aud(file_name):
|
|
|
|
|
|
|
| 49 |
print(file_name)
|
| 50 |
os.system(f"python diarize.py -a {file_name}")
|
| 51 |
with open(f"{file_name}.txt","r") as f:
|
|
|
|
| 46 |
return out
|
| 47 |
|
| 48 |
def diarize_aud(file_name):
|
| 49 |
+
print(file_name)
|
| 50 |
+
file_name=file_name.strip(".wav")
|
| 51 |
print(file_name)
|
| 52 |
os.system(f"python diarize.py -a {file_name}")
|
| 53 |
with open(f"{file_name}.txt","r") as f:
|