Tri-Netra-AI / fix_logo.py
anannyavyas1's picture
Upload folder using huggingface_hub
0146edf verified
Raw
History Blame Contribute Delete
233 Bytes
with open(r'web_dashboard\index.html', 'r', encoding='utf-8') as f:
c = f.read()
c = c.replace('src="assets/logo.png"', 'src="/assets/logo.png"')
with open(r'web_dashboard\index.html', 'w', encoding='utf-8') as f:
f.write(c)