suriya7 commited on
Commit
b7fc263
·
verified ·
1 Parent(s): 94e3a02

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -21,7 +21,7 @@ st.sidebar.title("About")
21
 
22
  st.sidebar.caption("""
23
  <div class="justified-text">
24
- NoteFusion is an AI-powered educational assistant helps students by providing summarizing textbook content, and generating personalized study plans roadmap with Pdf and converts image to Notes thn creating own personalized book with pdf.Powered by the Gemini API and built with Streamlit.
25
  </div>
26
  """, unsafe_allow_html=True)
27
 
@@ -37,8 +37,8 @@ for _ in range(3):
37
  if choice == 'Generate Roadmap PDF':
38
  st.subheader('Generate Roadmap PDF')
39
  subjects = st.text_input("Enter the subjects you need help with (comma-separated)")
40
- if subjects:
41
- button = st.button("Generate RoadMap")
42
  if subjects and button:
43
  with st.spinner('creating...'):
44
  response = model.road_map_model(subjects)
@@ -75,8 +75,8 @@ elif choice == "Generate own book":
75
  st.subheader("Create your own book")
76
  st.caption('write your book name our AI will create book for you')
77
  book_name = st.text_input("textbook Name")
78
- if book_name:
79
- button = st.button("Generate Book")
80
  if book_name and button:
81
  with st.spinner('creating...'):
82
  response = model.book_creator(book_name)
 
21
 
22
  st.sidebar.caption("""
23
  <div class="justified-text">
24
+ NoteFusion is an AI-powered educational assistant helps students by providing summarizing textbook content, and generating personalized study plans roadmap with Pdf and converts image to Notes and also creating own personalized book. built with Streamlit.
25
  </div>
26
  """, unsafe_allow_html=True)
27
 
 
37
  if choice == 'Generate Roadmap PDF':
38
  st.subheader('Generate Roadmap PDF')
39
  subjects = st.text_input("Enter the subjects you need help with (comma-separated)")
40
+
41
+ button = st.button("Generate RoadMap")
42
  if subjects and button:
43
  with st.spinner('creating...'):
44
  response = model.road_map_model(subjects)
 
75
  st.subheader("Create your own book")
76
  st.caption('write your book name our AI will create book for you')
77
  book_name = st.text_input("textbook Name")
78
+
79
+ button = st.button("Generate Book")
80
  if book_name and button:
81
  with st.spinner('creating...'):
82
  response = model.book_creator(book_name)