shaheerawan3 commited on
Commit
9a8bff9
·
verified ·
1 Parent(s): 167d203

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -13
app.py CHANGED
@@ -304,19 +304,6 @@ def initialize_session_state():
304
  def main():
305
  st.set_page_config(page_title="AI Book Generator", layout="wide")
306
 
307
- initialize_session_state()
308
- # Initialize session state
309
- if 'book_generator' not in st.session_state:
310
- st.session_state.book_generator = EnhancedBookGenerator()
311
- if 'formatter' not in st.session_state:
312
- st.session_state.formatter = BookFormatter()
313
- if 'current_step' not in st.session_state:
314
- st.session_state.current_step = 'settings'
315
- if 'book_settings' not in st.session_state:
316
- st.session_state.book_settings = {}
317
- if 'generated_book' not in st.session_state:
318
- st.session_state.generated_book = None
319
-
320
  # Book templates
321
  book_templates = {
322
  "48 Laws of Power Style": {
 
304
  def main():
305
  st.set_page_config(page_title="AI Book Generator", layout="wide")
306
 
 
 
 
 
 
 
 
 
 
 
 
 
 
307
  # Book templates
308
  book_templates = {
309
  "48 Laws of Power Style": {