mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix Webp imports from CharHub
This commit is contained in:
@@ -858,7 +858,7 @@ async function charaRead(img_url, input_format) {
|
|||||||
description = exif_data['UserComment'].value[0];
|
description = exif_data['UserComment'].value[0];
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
JSON.parse(description);
|
json5.parse(description);
|
||||||
char_data = description;
|
char_data = description;
|
||||||
} catch {
|
} catch {
|
||||||
const byteArr = description.split(",").map(Number);
|
const byteArr = description.split(",").map(Number);
|
||||||
|
Reference in New Issue
Block a user