Coder Social home page Coder Social logo

unavailable about free-gpt4-web-api HOT 4 CLOSED

aledipa avatar aledipa commented on August 21, 2024
unavailable

from free-gpt4-web-api.

Comments (4)

urosch avatar urosch commented on August 21, 2024

same here
free-gpt4-web-api-api-1 | FreeGPT4 Web API - A Web API for GPT-4 (Using BingAI)
free-gpt4-web-api-api-1 | Repo: github.com/aledipa/FreeGPT4-WEB-API
free-gpt4-web-api-api-1 | By: Alessandro Di Pasquale
free-gpt4-web-api-api-1 |
free-gpt4-web-api-api-1 | EdgeGPT Credits: github.com/acheong08/EdgeGPT
free-gpt4-web-api-api-1 |
free-gpt4-web-api-api-1 | * Serving Flask app 'FreeGPT4_Server'
free-gpt4-web-api-api-1 | * Debug mode: off
free-gpt4-web-api-api-1 | WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
free-gpt4-web-api-api-1 | * Running on all addresses (0.0.0.0)
free-gpt4-web-api-api-1 | * Running on http://127.0.0.1:5500
free-gpt4-web-api-api-1 | * Running on http://172.20.0.2:5500
free-gpt4-web-api-api-1 | Press CTRL+C to quit
free-gpt4-web-api-api-1 | 172.20.0.1 - - [29/Jun/2023 06:58:07] "GET / HTTP/1.1" 200 -
free-gpt4-web-api-api-1 | 172.20.0.1 - - [29/Jun/2023 06:58:07] "GET /favicon.ico HTTP/1.1" 404 -
free-gpt4-web-api-api-1 | 172.20.0.1 - - [29/Jun/2023 06:59:33] "HEAD /?text=what%20is%20the%20number%20of%20continents%20on%20earth HTTP/1.1" 400 -
free-gpt4-web-api-api-1 | [2023-06-29 07:00:10,052] ERROR in app: Exception on / [GET]
free-gpt4-web-api-api-1 | Traceback (most recent call last):
free-gpt4-web-api-api-1 | File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 2190, in wsgi_app
free-gpt4-web-api-api-1 | response = self.full_dispatch_request()
free-gpt4-web-api-api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
free-gpt4-web-api-api-1 | File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1486, in full_dispatch_request
free-gpt4-web-api-api-1 | rv = self.handle_user_exception(e)
free-gpt4-web-api-api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
free-gpt4-web-api-api-1 | File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1484, in full_dispatch_request
free-gpt4-web-api-api-1 | rv = self.dispatch_request()
free-gpt4-web-api-api-1 | ^^^^^^^^^^^^^^^^^^^^^^^
free-gpt4-web-api-api-1 | File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1469, in dispatch_request
free-gpt4-web-api-api-1 | return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
free-gpt4-web-api-api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
free-gpt4-web-api-api-1 | File "/usr/local/lib/python3.11/site-packages/asgiref/sync.py", line 277, in call
free-gpt4-web-api-api-1 | return call_result.result()
free-gpt4-web-api-api-1 | ^^^^^^^^^^^^^^^^^^^^
free-gpt4-web-api-api-1 | File "/usr/local/lib/python3.11/concurrent/futures/_base.py", line 449, in result
free-gpt4-web-api-api-1 | return self.__get_result()
free-gpt4-web-api-api-1 | ^^^^^^^^^^^^^^^^^^^
free-gpt4-web-api-api-1 | File "/usr/local/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
free-gpt4-web-api-api-1 | raise self._exception
free-gpt4-web-api-api-1 | File "/usr/local/lib/python3.11/site-packages/asgiref/sync.py", line 353, in main_wrap
free-gpt4-web-api-api-1 | result = await self.awaitable(*args, **kwargs)
free-gpt4-web-api-api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
free-gpt4-web-api-api-1 | File "/app/FreeGPT4_Server.py", line 47, in index
free-gpt4-web-api-api-1 | (
free-gpt4-web-api-api-1 | KeyError: 'text'
free-gpt4-web-api-api-1 | 172.20.0.1 - - [29/Jun/2023 07:00:10] "GET /?text=what%20is%20the%20number%20of%20continents%20on%20earth HTTP/1.1" 500 -

from free-gpt4-web-api.

aledipa avatar aledipa commented on August 21, 2024

Hi, I think the problem is due to the request limit that Microsoft has set for the chat mode when using it as non-logged in (as you can see from the following image)
Screenshot
which consists of about 5 questions. However, there is a solution to this issue: use the API with the cookies argument so that you are recognised as logged in and then have a chat limit of about 30 queries.
This would do the trick and it shouldn't even cause any further troubles when the limit is exceeded.
I hope this can help you, please let me know if there are any other problems.

from free-gpt4-web-api.

urosch avatar urosch commented on August 21, 2024

I'm already using the cookies.json and I got this error on first request already.

from free-gpt4-web-api.

aledipa avatar aledipa commented on August 21, 2024

I did some tests and the latest commit should have solved the issue.

from free-gpt4-web-api.

Related Issues (20)

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.