Spaces:
Running
Running
Commit
·
d8b7150
1
Parent(s):
95ce3be
update
Browse files
app.py
CHANGED
@@ -164,7 +164,7 @@ def process_and_generate(image_np, image_path_from_state, sidebar_prompt, header
|
|
164 |
link.decompose()
|
165 |
|
166 |
for img in soup.find_all('img'):
|
167 |
-
if img.get('src') and not img['src'].startswith(('http', '
|
168 |
original_src = img['src']
|
169 |
print(f"Processing image: {original_src}")
|
170 |
|
|
|
164 |
link.decompose()
|
165 |
|
166 |
for img in soup.find_all('img'):
|
167 |
+
if img.get('src') and not img['src'].startswith(('http', 'dbata:')):
|
168 |
original_src = img['src']
|
169 |
print(f"Processing image: {original_src}")
|
170 |
|