ErikH commited on
Commit
783a9b1
1 Parent(s): f7f0cba

Update pages/bot.py

Browse files
Files changed (1) hide show
  1. pages/bot.py +1 -1
pages/bot.py CHANGED
@@ -82,7 +82,7 @@ def main():
82
  if user_question:
83
  st.text(retrieved_docs[0].page_content)
84
  context=retrieved_docs[0].page_content
85
- question=user_question
86
  generator = pipeline('text-generation', model = 'gpt2')
87
  answer = generator(context, max_length = 30, num_return_sequences=3)
88
 
 
82
  if user_question:
83
  st.text(retrieved_docs[0].page_content)
84
  context=retrieved_docs[0].page_content
85
+ #question=user_question
86
  generator = pipeline('text-generation', model = 'gpt2')
87
  answer = generator(context, max_length = 30, num_return_sequences=3)
88