Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ class AudioProcessor:
|
|
65 |
diarization = self.pipeline(temp_file) # 返回 Annotation 对象
|
66 |
except Exception as e:
|
67 |
return f"处理音频时出错: {e}"
|
68 |
-
|
69 |
return diarization # 直接返回 Annotation 对象
|
70 |
|
71 |
# 将时间戳转换为秒
|
|
|
65 |
diarization = self.pipeline(temp_file) # 返回 Annotation 对象
|
66 |
except Exception as e:
|
67 |
return f"处理音频时出错: {e}"
|
68 |
+
print("3123", type(diarization))
|
69 |
return diarization # 直接返回 Annotation 对象
|
70 |
|
71 |
# 将时间戳转换为秒
|