Spaces:
Running
Running
Commit
·
33cf338
1
Parent(s):
a1fc690
Refine prompts
Browse files
screencoder/image_replacer.py
CHANGED
@@ -140,7 +140,7 @@ def main():
|
|
140 |
# Remove bg-gray-400 class and add appropriate image classes
|
141 |
if 'bg-gray-400' in new_img['class']:
|
142 |
new_img['class'].remove('bg-gray-400')
|
143 |
-
new_img['class'].extend(['
|
144 |
|
145 |
# Replace the div element with the new img element
|
146 |
ph_element.replace_with(new_img)
|
|
|
140 |
# Remove bg-gray-400 class and add appropriate image classes
|
141 |
if 'bg-gray-400' in new_img['class']:
|
142 |
new_img['class'].remove('bg-gray-400')
|
143 |
+
new_img['class'].extend(['h-full', 'object-cover'])
|
144 |
|
145 |
# Replace the div element with the new img element
|
146 |
ph_element.replace_with(new_img)
|