Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix issue in upload and offlind-record pages of python streaming server #284

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

hexins
Copy link

@hexins hexins commented Aug 17, 2023

fix issue in upload and offlind-record pages of python streaming server

@@ -23,17 +23,20 @@
("/js/bootstrap.min.js", "application/javascript"),
("/js/bootstrap.min.js.map", "application/javascript"),
("/js/jquery-3.6.0.min.js", "application/javascript"),
("/js/offline_record.js", "application/javascript"),
("/js/offline_record.js", "application/javascript"),
("/js/offline_record_streaming.js", "application/javascript"),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Offline and non-streaming are synonymous.

Please either use offline_record.js or use non_streaming_record.js.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think offline record just means we record the voice into one buffer, like a file,
then we still have streaming and non-streaming mode to transcribe the buffer,
streaming mode is to send the buffer bytes in stream and receive the result at the same time,
while non-streaming mode is to send the whole buffer firstly
and then receive the whole result text in one response,
so we should still need two different js files for offline record.

@hexins hexins requested a review from csukuangfj October 12, 2023 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants