mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-25 17:29:22 +01:00
Remove unused imports
This commit is contained in:
parent
3333f94c30
commit
48b83c9a70
@ -1,5 +1,3 @@
|
|||||||
import json
|
|
||||||
import os
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
import gradio as gr
|
import gradio as gr
|
||||||
@ -46,7 +44,6 @@ def generate_html():
|
|||||||
# Iterate through files in image folder
|
# Iterate through files in image folder
|
||||||
for file in Path("characters").glob("*"):
|
for file in Path("characters").glob("*"):
|
||||||
if file.name.endswith(".json"):
|
if file.name.endswith(".json"):
|
||||||
json_name = file.name
|
|
||||||
character = file.name.replace(".json", "")
|
character = file.name.replace(".json", "")
|
||||||
table_html += "<tr>"
|
table_html += "<tr>"
|
||||||
image_html = "<div class='placeholder'></div>"
|
image_html = "<div class='placeholder'></div>"
|
||||||
|
Loading…
Reference in New Issue
Block a user