parvalijaved commited on
Commit
f12d4dd
·
verified ·
1 Parent(s): 93140a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ st.title("Bhagavad Gita")
19
  data = fetch_data()
20
 
21
  # Extract chapter details
22
- chapters = {int(chapter["chapter_number"]): chapter for chapter in data["chapters"]}
23
 
24
  # Select Chapter
25
  chapter_id = st.selectbox("Select Chapter", list(chapters.keys()), format_func=lambda x: f"Chapter {x}")
 
19
  data = fetch_data()
20
 
21
  # Extract chapter details
22
+ chapters = {chapter["chapter_number"]: chapter for chapter in data["chapters"]}
23
 
24
  # Select Chapter
25
  chapter_id = st.selectbox("Select Chapter", list(chapters.keys()), format_func=lambda x: f"Chapter {x}")