Spaces:
Paused
Paused
Update app.py
Browse files
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":
|