diff --git a/extensions/gallery/script.py b/extensions/gallery/script.py index 87216a15..698575d1 100644 --- a/extensions/gallery/script.py +++ b/extensions/gallery/script.py @@ -1,5 +1,3 @@ -import json -import os from pathlib import Path import gradio as gr @@ -46,7 +44,6 @@ def generate_html(): # Iterate through files in image folder for file in Path("characters").glob("*"): if file.name.endswith(".json"): - json_name = file.name character = file.name.replace(".json", "") table_html += "