zenafey commited on
Commit
516f2ad
1 Parent(s): 33f7d49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -83,7 +83,6 @@ def image_to_base64(image_path):
83
  def remove_id_and_ext(text):
84
  text = re.sub(r'\[.*\]$', '', text)
85
  extension = text[-12:].strip()
86
- print(extension)
87
  if extension == "safetensors":
88
  text = text[:-13]
89
  elif extension == "ckpt":
 
83
  def remove_id_and_ext(text):
84
  text = re.sub(r'\[.*\]$', '', text)
85
  extension = text[-12:].strip()
 
86
  if extension == "safetensors":
87
  text = text[:-13]
88
  elif extension == "ckpt":