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

Timeout value #4

Open
robtow opened this issue Jan 30, 2017 · 1 comment
Open

Timeout value #4

robtow opened this issue Jan 30, 2017 · 1 comment

Comments

@robtow
Copy link

robtow commented Jan 30, 2017

I changed the timeout value from 5000 to 50000 in <deepui.js>, to prevent the below error:

The output from <script.sh> is:

INFO:root:Loaded the Speech Recognition Module
INFO:root:Saved the input signal into WAVE File
INFO:root:Converted Speech To Text
INFO:root:Training of Model Disabled
INFO:root:Finished Loading SpeechNetSVMMulticlass Module
INFO:root:Finished Loading Test-Train data from file
INFO:root:Emotion Data: {'Angry': 1.0}
INFO:root:Retrieving the Training-Test Data for Speech2Text Model
INFO:root:Retrieving Validation Data for Speech2Text Model
INFO:root:Configuring the SVM Model
INFO:root: Finished Loading the saved Speech2Text Model.
INFO:root:Final Emotion set:: {'Angry': 1.0, 'data': 'that machete asians that was at how hopeless at junk'}
INFO:werkzeug:127.0.0.1 - - [30/Jan/2017 05:44:17] "POST /deepsentifile HTTP/1.1" 200 -
ERROR:werkzeug:Error on request:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 205, in run_wsgi
execute(self.server.app)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 196, in execute
write(data)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 164, in write
self.send_header(key, value)
File "/usr/lib/python2.7/BaseHTTPServer.py", line 401, in send_header
self.wfile.write("%s: %s\r\n" % (keyword, value))
IOError: [Errno 32] Broken pipe

@robtow robtow changed the title Python version? Timeout value Jan 30, 2017
@vyassu
Copy link
Owner

vyassu commented Jan 31, 2017

Thanks Rob for the temporary fix. I will have a look into why the webservice is taking more than 5 sec to respond to a request.

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

No branches or pull requests

2 participants