From 48b83c9a70c5a2d8f0cb9b398ce2639f48f63c40 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Sun, 26 Feb 2023 13:15:56 -0300 Subject: [PATCH] Remove unused imports --- extensions/gallery/script.py | 3 --- 1 file changed, 3 deletions(-) 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 += "" image_html = "
"