Comments (13)
Additionally, server error message:
Downloading the video: https://www.youtube.com/watch?v=v3JX3mzrAoI into audio ...
Traceback (most recent call last):
File "D:\------\logseq-whisper-subtitles-server\logseq_whisper_subtitles_server\app.py", line 29, in transcribe
audio_path = download_youtube(youtube_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\-----\logseq-whisper-subtitles-server\logseq_whisper_subtitles_server\services.py", line 54, in download_youtube
audio_stream.download(filename=audio_name, output_path='.')
File "C:\Python311\Lib\site-packages\pytube\streams.py", line 312, in download
with open(file_path, "wb") as fh:
^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'D:\\-----\\logseq-whisper-subtitles-server\\logseq_whisper_subtitles_server\\.\\youtube/youtube_audio_735dad45a111435d9fdd69c81d90e9fa.mp3'
127.0.0.1 - - [15/Oct/2023 10:29:28] "POST /transcribe HTTP/1.1" 200 -
from logseq-whisper-subtitles-server.
Ah, I understand. The path usage on Windows is different from that on a Mac. I hadn't tested this before, but I'll work on resolving the issue tonight.
from logseq-whisper-subtitles-server.
First, thank you for providing such a great plugin. I try and do not know how to use. It looks like the file isn't downloading.
What I did; Run from the menu of the block with "{{youtube URL}}". Error message:
logseq-whisper-subtitle-server error: [Errno 2] No such file or directory: 'D:\\ ------ \\logseq-whisper-subtitles-server\\logseq_whisper_subtitles_server\\.\\youtube/youtube_audio_6968954bf60841b48f987933359b93d3.mp3'
My guess is, the server is running. But the file was not found in the directory.
Apologies for the inconvenience. There was a minor bug related to the file path. Could you please pull the latest version from the main branch and try again?
from logseq-whisper-subtitles-server.
It seems like progress has been made. But...
Logseq error message: "not supported source yet"
I used this URL. https://youtu.be/v3JX3mzrAoI ({{youtube https://youtu.be/v3JX3mzrAoI}}
)
I'm not looking for an immediate solution, but just to report. I will also cooperate as much as possible. 🫡
from logseq-whisper-subtitles-server.
The cause of the problem has been found. The URL did not match the pattern. I will try fixing locally.
from logseq-whisper-subtitles-server.
@YU000jp Ah, I see the issue. It seems that the link was missing the "https://youtu.be/" prefix and only had "https://www.youtube.com/". Could you please pull the latest version and try again?
from logseq-whisper-subtitles-server.
Two errors occurred.
-
"logseq-whisper-subtitle-server error: The size of tensor a (386) must match the size of tensor b (3) at non-singleton dimension 3"
-
logseq-whisper-subtitle-server error: cannot reshape tensor of 0 elements into shape [1, 0, 8, -1] because the unspecified dimension size -1 can be any value and is ambiguous
from logseq-whisper-subtitles-server.
Could you please provide me with the complete error stack?
from logseq-whisper-subtitles-server.
Can you run with the test audio?
cd logseq_whisper_subtitles_server
python services.py
from logseq-whisper-subtitles-server.
It took some time, but it was reflected in Logseq. After waiting a few minutes, it appears that you received the processing.
I would like to be able to display messages being processed using "logseq.provideUI()".
from logseq-whisper-subtitles-server.
Yeah, you're right. The speed is tied to the local machine's capabilities. It's a bit slow on CPU; maybe a message should be displayed.
from logseq-whisper-subtitles-server.
Just outputting verbose logs to the console for now, which also means it could possibly switch to stream output for logseq, I will try to implement this.
from logseq-whisper-subtitles-server.
Let me explain just in case. A popup will be displayed when use "logseq.provideUI()".
"logseq.provideUI()" sample code:
https://github.com/YU000jp/logseq-plugin-side-block/blob/31fa885980550180d569510a0d08f9699fca0ace/src/index.ts#L143
Process for remove the popup:
https://github.com/YU000jp/logseq-plugin-side-block/blob/31fa885980550180d569510a0d08f9699fca0ace/src/index.ts#L96C5-L96C95
from logseq-whisper-subtitles-server.
Related Issues (4)
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 logseq-whisper-subtitles-server.