mohammed3536 commited on
Commit
03e805e
1 Parent(s): 45889c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -69,9 +69,6 @@ def generate_quiz(quiz_name, quiz_topic, num_questions, pdf_content):
69
  prompt = PromptTemplate(template=template, input_variables=['chat_history','human_input','name','context'])
70
 
71
 
72
- # Store question data in vector database
73
- st.session_state.vectorDB.add(prompt.generate(), embedding=None)
74
-
75
  # Save button to store vector database
76
  if st.session_state.vectorDB:
77
  if st.button('Save Vector Database'):
 
69
  prompt = PromptTemplate(template=template, input_variables=['chat_history','human_input','name','context'])
70
 
71
 
 
 
 
72
  # Save button to store vector database
73
  if st.session_state.vectorDB:
74
  if st.button('Save Vector Database'):