Comments (17)
Will try to start from the beginning with a new copy of the repo and report back
from discordbot-edgegpt.
Check if the edgegpt version is 0.11.2
from discordbot-edgegpt.
from discordbot-edgegpt.
what's your python version?
from discordbot-edgegpt.
3.11.4
from discordbot-edgegpt.
Maybe is python version problem, I'm using 3.9.16
from discordbot-edgegpt.
Oh was this fixed? What was the problem?
from discordbot-edgegpt.
no, I'm can work in python version 3.11.4, try running this simple code if you can
import asyncio, json
from EdgeGPT.EdgeGPT import Chatbot, ConversationStyle
async def main():
cookies = json.loads(open("./path/to/cookies.json", encoding="utf-8").read())
bot = await Chatbot.create(cookies=cookies)
response = await bot.ask(prompt="Hello world", conversation_style=ConversationStyle.creative, simplify_response=True)
print(json.dumps(response, indent=2))
await bot.close()
if __name__ == "__main__":
asyncio.run(main())
from discordbot-edgegpt.
Run this in the python interpreter?
from discordbot-edgegpt.
yes
from discordbot-edgegpt.
This is what I got after running the snippet above
from discordbot-edgegpt.
oh, you have to modify the location where you put cookies
from discordbot-edgegpt.
In what file is the cookies path stored?
from discordbot-edgegpt.
Oh wait I got what you meant
from discordbot-edgegpt.
Similar error
from discordbot-edgegpt.
API has error, waiting for fixes
from discordbot-edgegpt.
My chatbot can working now, but I still can't reproduce this error.
from discordbot-edgegpt.
Related Issues (20)
- 'NoneType' object is not iterable HOT 2
- On mobile, when using the image creation, only the first image is displayed. HOT 13
- Error: 0, message='Attempt to decode JSON with unexpected mimetype: text/html', url=URL('https://www.bing.com/images/kblob') HOT 18
- Nothing works HOT 2
- i can't run the code HOT 11
- Timeout HOT 2
- Error, help HOT 15
- Error when try use "/bing hello" HOT 14
- Add .env CHANNEL_ID for response.py or image_create.py HOT 5
- When Bing closes the conversation, unable to start a new one until bot is restarted HOT 2
- Image request timed out HOT 3
- Error: 'NoneType' object is not iterable HOT 11
- More verbose errors HOT 9
- Error:'ascii' codec can't encode character '\xe0' in position 218: ordinal not in range(128) HOT 1
- AttributeError: 'NoneType' object has no attribute 'reset' HOT 3
- Any way to solve "ERROR: 'NoneType' object is not iterable"? HOT 1
- Where does the CAPTCHA pop up when the "ERROR: CaptchaChallenge: User needs to solve CAPTCHA to continue." error is being displayed? HOT 9
- How to solve "ERROR: Throttled: Request is throttled."? HOT 1
- HUGE error right here HOT 2
- how to solve this error? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discordbot-edgegpt.