Toggle navigation
Toggle navigation
This project
Loading...
Sign in
천현우
/
Voicoding
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
천현우
2021-06-06 17:55:07 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3420fdd07a864095e43003e9bc3ecb9d02d92ed7
3420fdd0
1 parent
abd7134d
client move
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
1 deletions
client.js → Voicoding_web/client.js
voicoding.js
client.js
→
Voicoding_web/
client.js
View file @
3420fdd
File moved
voicoding.js
View file @
3420fdd
...
...
@@ -59,7 +59,7 @@ async function testGoogleTextToSpeech(audioBuffer) {
app
.
post
(
'/upload_sound'
,
upload
.
any
(),
async
(
req
,
res
)
=>
{
console
.
log
(
"Getting text transcription.."
);
let
transcription
=
await
testGoogleTextToSpeech
(
req
.
files
[
0
].
buffer
);
console
.
log
(
"Text transcription: "
+
transcription
);
console
.
log
(
"Text transcription: "
+
transcription
);
res
.
status
(
200
).
send
(
transcription
);
});
app
.
listen
(
port
,
()
=>
{
...
...
Please
register
or
login
to post a comment