Closed Simplegram closed 1 year ago
How did you make the new clean installation? I did it in this way (I'm pasting the instructions on my readme.md):
a) Make a new clean install. I don't know the exact old file to delete, so I removed the majority of them: go to TextGenerationWebui\installer_files\env\Lib\site-packages
and delete EdgeGPT- your.version.number.dist-info
, then scroll down and delete EdgeGPT.py
. Now just in case go to TextGenerationWebui\text-generation-webui\extensions\EdgeGPT
and delete the __pycache__
folder.
b) Install again EdgeGPT: open cmd_windows.bat
and type pip install EdgeGPT
or pip install EdgeGPT==0.6.1
or pip install EdgeGPT==your.desired.version
.
If you want you can check the installed version: conda list EdgeGPT
.
Yes, I follow that instructions for the clean install.
It's strange, anyway if you want to get rid of this you can always use the cookies, I'm changing the script to let it use cookies. You need also the old edgeGPT version (details at the bottom), I could add an option to continue using them if you like it. Try creating again the cookies.json in the extension folder, maybe the script finds them even without specifing the path.
Install Cookie Editor for Microsoft Edge.
Go to bing.com, login to your microsoft account and copy the cookies in a file. If you can't find the extension on Microsoft Edge, follow these steps:
1- Click the puzzle icon;
2- Click the cookie icon;
3- Click the fifth option on top, to copy them.
Now that you have copied them, go inside text-generation-webui\extensions\EdgeGPT and paste the cookies settings in cookies.txt, then rename it to cookies.json and press enter.
Adding the cookies path to the script doesn't work alone, probably we need also an older version of the main edgeGPT script (the one by Archeon). Tell me if you want to downgrade the edgeGpt function to use the cookies or you want to fix the login thing (which shouldn't be required).
Anyway to downgrade the main edgeGpt script you need to start cmd_windows.bat
/your platform.bat and type pip install EdgeGPT==[your.desired.version]
. This should overwrite the newer script, if you still get the error try deleting EdgeGPT- your.version.number.dist-info
and EdgeGPT.py
I am getting the same error as well. I am running the textgen on a remote cli based server. Do I still need to pass bing login/cookies to plugin somewhere?
TextGenerationWebui\installer_files\env\Lib\site-packages
>EdgeGPT- your.version.number.dist-info
, then scroll down and delete EdgeGPT.py
. Now just in case go to TextGenerationWebui\text-generation-webui\extensions\EdgeGPT
and delete the __pycache__
folder--listen --port
and got error. Now I don't have time but if you want there is ImaBlank2's merge that works with and without colab ("google's remote computer"), so maybe on your server too, here are his post and the files.--listen
shouldn't be a problem, it works for me. How are you using the remote cli server, is it difficult to setup?
Without cookies it should work also on a server, I tested it on colab and it works (wow). Maybe you need to delete the old files? TextGenerationWebui\installer_files\env\Lib\site-packages
>EdgeGPT- your.version.number.dist-info
, then scroll down and delete EdgeGPT.py
. Now just in case go to TextGenerationWebui\text-generation-webui\extensions\EdgeGPT
and delete the __pycache__
folder. Some of these files require the cookies, so we need to delete and update them
Okay, so far after doing a clean install of EdgeGPT extension, installing EdgeGPT 0.6.10, and placing cookies.json
inside the extension folder, I have not run into any issues. As I'm writing this, the login error showed up again. This is after 12 straight questions without error.
This is the 12 questions:
Using the latest EdgeGPT 0.7.1 though render the EdgeGPT extension sort of unconscious, no reply and no error logs after pressing the generate button, just nothing after minutes. Only the Is searching...
showed up.
Can you print in console the bing output? And maybe the character output too, I don't remember if there is something similar. Maybe they were generated but not showed, printing them may be a first step
I'm sorry, I didn't save the logs from before.
Changing the script.py
at line 158 to something like below so far works though after 17 questions. No errors yet. Will reply as soon as possible with the logs when I encounter further error.
cookies = json.loads(open("path/to/cookies/json", encoding="utf-8").read())
bot = await Chatbot.create(cookies=cookies)
I need to specify the exact path of the cookies.json
for it to work. And don't forget to put import json
on the top of the file in case anyone wants to try.
It's similar to the old version of the script where it was specified the cookies path, I thought too to add it again but I got an error, I thought I had to downgrade EdgeGPT but you had not to, interesting. I could add a switch with your code, to ler users choose between using cookies or not, this could help other users with the same issue. Tell me if it continues to work, maybe in the meantime I'll create the switch
I added the option to turn on cookies, tell me if it works for you. If it isn't, you can open again the issue
I have a login issue with EdgeGPT. After doing a clean install and updating EdgeGPT extension to 0.6.8, the issue temporarily disappear and then started appearing again. I have looked into #5 but I don't really know where to log in next. I have logged in to https://bing.com, Microsoft Edge, and Windows 11. Below is my oobabooga log. I removed a few OOM errors, let me know if that can also be a factor. I changed the activation word to
Bing
in the last two interactions.Starting arguments: --auto-devices --chat --xformers --sdp-attention --extensions EdgeGPT long_term_memory openai
Models tested: