jules / patch2.py
GraziePrego's picture
Upload folder using huggingface_hub
34450be verified
raw
history blame contribute delete
372 Bytes
with open('components/SettingsModal.tsx', 'r') as f:
content = f.read()
# Fix the extra backslashes introduced by python script
content = content.replace(
"{agent.id === \\'jules-4\\' ? \\'AUXteam\\' : \\'Jules API Key\\'}",
"{agent.id === 'jules-4' ? 'AUXteam' : 'Jules API Key'}"
)
with open('components/SettingsModal.tsx', 'w') as f:
f.write(content)