Spaces:
Paused
Paused
Download patch.py from GraziePrego/jules: direct link, hf CLI and curl.
- Browser
- Download file 658 Bytes
-
https://huggingface.co/spaces/GraziePrego/jules/resolve/main/patch.py
- Command line
-
hf download hf://spaces/GraziePrego/jules/patch.py
-
curl -L -o patch.py https://huggingface.co/spaces/GraziePrego/jules/resolve/main/patch.py
658 Bytes
| with open('components/SettingsModal.tsx', 'r') as f: | |
| content = f.read() | |
| content = content.replace('<span>Jules Key (Agent 4):</span>', '<span>AUXteam:</span>') | |
| content = content.replace( | |
| '<label className="block text-[10px] font-bold text-gray-500 uppercase">Jules API Key</label>', | |
| '<label className="block text-[10px] font-bold text-gray-500 uppercase">{agent.id === \'jules-4\' ? \'AUXteam\' : \'Jules API Key\'}</label>' | |
| ) | |
| content = content.replace( | |
| 'placeholder="Jules API Key"', | |
| 'placeholder={agent.id === \'jules-4\' ? \'AUXteam\' : \'Jules API Key\'}' | |
| ) | |
| with open('components/SettingsModal.tsx', 'w') as f: | |
| f.write(content) | |