ErikH commited on
Commit
171a569
1 Parent(s): 3076e0a

Update pages/bot.py

Browse files
Files changed (1) hide show
  1. pages/bot.py +2 -1
pages/bot.py CHANGED
@@ -89,6 +89,7 @@ def main():
89
  st.text(retrieved_docs[0].page_content)
90
  context=retrieved_docs[0].page_content
91
  question=user_question
 
92
 
93
  ##IDEE Text Generation
94
  generator = pipeline('text-generation', model = 'gpt2')
@@ -121,7 +122,7 @@ def main():
121
  | StrOutputParser()
122
  )
123
 
124
- ausgabetext = chain.invoke(question)
125
  st.text(ausgabetext)
126
 
127
 
 
89
  st.text(retrieved_docs[0].page_content)
90
  context=retrieved_docs[0].page_content
91
  question=user_question
92
+ st.text(user_question)
93
 
94
  ##IDEE Text Generation
95
  generator = pipeline('text-generation', model = 'gpt2')
 
122
  | StrOutputParser()
123
  )
124
 
125
+ ausgabetext = chain.invoke(user_question)
126
  st.text(ausgabetext)
127
 
128