Giter Site home page Giter Site logo

tengo el problema :5000/audio:1 Failed to load resource: the server responded with a status of 500 (INTERNAL SERVER ERROR) recorder.js:67 Oops: Ocurrió un error SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON about asistente-virtual HOT 3 OPEN

litocraksito avatar litocraksito commented on August 20, 2024
tengo el problema :5000/audio:1 Failed to load resource: the server responded with a status of 500 (INTERNAL SERVER ERROR) recorder.js:67 Oops: Ocurrió un error SyntaxError: Unexpected token '<', "from asistente-virtual.

Comments (3)

litocraksito avatar litocraksito commented on August 20, 2024

127.0.0.1 - - [15/Aug/2023 19:13:22] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [15/Aug/2023 19:13:22] "GET /static/recorder.css HTTP/1.1" 304 -
127.0.0.1 - - [15/Aug/2023 19:13:22] "GET /static/recorder.js HTTP/1.1" 304 -
127.0.0.1 - - [15/Aug/2023 19:13:22] "GET /static/img/microphone.png HTTP/1.1" 304 -
127.0.0.1 - - [15/Aug/2023 19:13:27] "POST /audio HTTP/1.1" 500 -
Traceback (most recent call last):
File "C:\Users\yeickoff\Desktop\asistente-virtual-main\env\Lib\site-packages\flask\app.py", line 2213, in call
return self.wsgi_app(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yeickoff\Desktop\asistente-virtual-main\env\Lib\site-packages\flask\app.py", line 2193, in wsgi_app
response = self.handle_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yeickoff\Desktop\asistente-virtual-main\env\Lib\site-packages\flask\app.py", line 2190, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yeickoff\Desktop\asistente-virtual-main\env\Lib\site-packages\flask\app.py", line 1486, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yeickoff\Desktop\asistente-virtual-main\env\Lib\site-packages\flask\app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yeickoff\Desktop\asistente-virtual-main\env\Lib\site-packages\flask\app.py", line 1469, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yeickoff\Desktop\asistente-virtual-main\app.py", line 28, in audio
text = Transcriber().transcribe(audio)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yeickoff\Desktop\asistente-virtual-main\transcriber.py", line 13, in transcribe
transcript = openai.Audio.transcribe("whisper-1", audio_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yeickoff\Desktop\asistente-virtual-main\env\Lib\site-packages\openai\api_resources\audio.py", line 65, in transcribe
response, _, api_key = requestor.request("post", url, files=files, params=data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yeickoff\Desktop\asistente-virtual-main\env\Lib\site-packages\openai\api_requestor.py", line 298, in request
resp, got_stream = self._interpret_response(result, stream)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yeickoff\Desktop\asistente-virtual-main\env\Lib\site-packages\openai\api_requestor.py", line 700, in _interpret_response
self._interpret_response_line(
File "C:\Users\yeickoff\Desktop\asistente-virtual-main\env\Lib\site-packages\openai\api_requestor.py", line 763, in _interpret_response_line
raise self.handle_error_response(
openai.error.RateLimitError: You exceeded your current quota, please check your plan and billing details.
127.0.0.1 - - [15/Aug/2023 19:13:27] "GET /static/recorder.css HTTP/1.1" 304 -

from asistente-virtual.

Nelsonrivero avatar Nelsonrivero commented on August 20, 2024

hola. lograste solucionarlo ?

from asistente-virtual.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.