This repository has been archived by the owner on Aug 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 906
[Bug]: run EdgeGPT with flask #622
Comments
iervn6341-ovo
changed the title
[Bug]: run edge with flask
[Bug]: run EdgeGPT with flask
Jul 20, 2023
already tried possiblilty solution if code run normal on none flask py file,what if I define bot global variable before running flask app,then i thought change code below can be fine.
but there also have errors
|
is there any way to run code without asyncio? |
You dont need asyncio to run chatgpt, flask[async] will suffice for your needs async def setup(): @app.route('/chat') |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is there an existing issue for this?
What happened?
My code:
I'm running edgegpt with flask,but there is an error like blow
Steps to reproduce the problem
What should have happened?
Version where the problem happens
EdgeGPT: 0.12.1(with 16e00af)
What Python version are you running this with?
Python: Python3.10
What is your operating system ?
Linux
Command Line Arguments
Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: