Comments (6)
我今天也注意到这个问题了,稍后会抽空修复。感谢。
from n46whisper.
自动断开这个功能我暂时关闭了,因为和google.colab.files.download这个方法有冲突。
files.download会等待当前的cell执行完,这样的话会出现一直计时,然后就先执行断开连接的情况。
目前没想到什么好办法,如果您有什么思路清务必指教。
from n46whisper.
我看了下files.py的源码,里面是用 js 异步构建了一个download函数(async),里面需要根据Kernel ID返回的数据量判断是否成功,而你在python环境下是直接同步调用sleep函数,让kernel无法返回数据,导致在调用js的download函数时一直在for循环中判断。所以不能直接在代码中调用sleep。我看到里面用 js 创建了一个channel,当下载发起之后,可以通过调用channel的send方法发消息给python程序,然后在python程序中添加接收即可,具体的代码可以参考:https://stackoverflow.com/questions/63263921/is-there-a-way-to-register-a-message-handler-callback-on-a-google-colab-kernel-c
from n46whisper.
https://github.com/googlecolab/colabtools/blob/master/google/colab/files.py
from n46whisper.
还有一个,就是下载成压缩包的功能,建议可以添加一个选项,让用户选择是否压缩,因为有的用户可能并没有压缩的习惯或打算。当然只是建议
from n46whisper.
还有一个,就是下载成压缩包的功能,建议可以添加一个选项,让用户选择是否压缩,因为有的用户可能并没有压缩的习惯或打算。当然只是建议
嗯,这个我也觉得,今天改了一下,只有多个文件才以压缩包的形式下载
from n46whisper.
Related Issues (20)
- 低识别率然后字幕中会提示“adjust_required” HOT 3
- 不知能否添加在视频里自动略过其他语言的功能
- 使用Google Gemini AI文本翻译出现未知错误 HOT 2
- 能不能再做一个从谷歌网盘选择文件夹的功能呢?
- 在语音识别库配置完毕,将开始转换这一步出错 HOT 1
- 一直显示 加载模型 Loading model... HOT 3
- 第一步,登陆google账户后就网页卡住,试了好几次都这样,不知道为什么。 HOT 1
- HF_TOKEN这个是 什么意思 不走了 之前都是好的 HOT 20
- 建议加个能导出纯文本txt的选项 HOT 2
- 加载模型错误 HOT 1
- 请求添加whisper的prompt选项
- GPT翻译能否增加一个网址选项,旨在使用其他网站的API
- 关于谷歌网盘文件类型的修改建议
- 建议选择谷歌文件时能够提示已选择的文件信息,和删除已选择的文件的选项 HOT 2
- [建议] 提高机翻双语字幕准确性的辅助工具 HOT 1
- only 2 file on google drive can be proces HOT 2
- 为什么会出现明明有对话 但是却丢了一大段字幕呢? HOT 2
- 我做了一个本地llm翻译、总结的版本,12G显存即可食用,欢迎来玩儿~ HOT 7
- 有概率谷歌云盘挂载无法选择文件 HOT 1
- 推荐一个日文语音识别的工具,ReazonSpeech HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from n46whisper.