Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshat2512 committed Nov 28, 2024
1 parent 756eeea commit 8198048
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions backend/speech_proccessing.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@

# import wave
import numpy as np
import tensorflow.lite as tflite
# import tensorflow.lite as tflite
import zipfile
import time
# import tflite_runtime.interpreter as tflite
import tflite_runtime.interpreter as tflite

import logging

Expand Down
2 changes: 1 addition & 1 deletion static/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function stopRecording(){
async function connect_ws(user_id){

return new Promise((resolve, reject) => {
const socket = new WebSocket(`ws://${window.location.hostname}:${window.location.port}/ws/`+user_id);
const socket = new WebSocket(`wss://${window.location.hostname}:${window.location.port}/ws/`+user_id);
socket.onopen = function(event) {
resolve(socket)
};
Expand Down

0 comments on commit 8198048

Please sign in to comment.