Add extra prompts, endless generation, random character default, and small fixes
- Add extra positive/negative prompt textareas to all 9 detail pages with session persistence - Add Endless generation button to all detail pages (continuous preview generation until stopped) - Default character selector to "Random Character" on all secondary detail pages - Fix queue clear endpoint (remove spurious auth check) - Refactor app.py into routes/ and services/ modules - Update CLAUDE.md with new architecture documentation - Various data file updates and cleanup Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
17
fix_quotes.py
Normal file
17
fix_quotes.py
Normal file
@@ -0,0 +1,17 @@
|
||||
import glob
|
||||
import re
|
||||
|
||||
files = glob.glob('templates/*/detail.html') + ['templates/detail.html']
|
||||
|
||||
for filepath in files:
|
||||
with open(filepath, 'r') as f:
|
||||
content = f.read()
|
||||
|
||||
# remove literal backslashes before single quotes
|
||||
content = content.replace(r"\'", "'")
|
||||
|
||||
# remove literal backslashes before double quotes if any
|
||||
content = content.replace(r'\"', '"')
|
||||
|
||||
with open(filepath, 'w') as f:
|
||||
f.write(content)
|
||||
Reference in New Issue
Block a user