-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to open JSON #25
Comments
is your api key values at config.json missing double quotation marks? # it should be
"keys": [
{
"EL_key": "you key here",
"OAI_key": "your key here"
}
],
# instead of
"keys": [
{
"EL_key": you key here, # missing quotation marks right here
"OAI_key": your key here
}
],
``` ** |
it is still not working even with the quotations |
The easiest possibility to fix is an error in the json file, can you see any error messages under the json file? or if possible, you can post the file here |
Detecting these errors might be tricky, since it is in fact not an error code but a print message. This is code from the run.py file try:
with open("config.json", "r") as json_file:
data = json.load(json_file)
except:
print("Unable to open JSON file.") # it just prints a statement without printing the error message
exit() If i modify this code, try:
with open("config.json", "r") as json_file:
data = json.load(json_file)
except Exception as e:
print(e)
print("Unable to open JSON file.")
exit() it gives me
|
@Sylensar maybe this one might interest you. It already supports twitch chat. https://github.com/ardha27/AI-Waifu-Vtuber |
Tried executing run command through powershell and gave me an error saying Unable to open JSON how do I fix this?
The text was updated successfully, but these errors were encountered: