ErikH commited on
Commit
26e5516
1 Parent(s): 8237a67

Update pages/bot.py

Browse files
Files changed (1) hide show
  1. pages/bot.py +2 -0
pages/bot.py CHANGED
@@ -85,8 +85,10 @@ def main():
85
  question=user_question
86
  generator = pipeline('text-generation', model = 'gpt2')
87
  answer = generator(context, max_length = 30, num_return_sequences=3)
 
88
  st.text("FORMATIERTE ANTWORT:")
89
  st.text(answer)
 
90
  # bei incoming pdf
91
 
92
  #vectorstore_DB=get_vectorstore() # bei Abfrage durch Chatbot
 
85
  question=user_question
86
  generator = pipeline('text-generation', model = 'gpt2')
87
  answer = generator(context, max_length = 30, num_return_sequences=3)
88
+
89
  st.text("FORMATIERTE ANTWORT:")
90
  st.text(answer)
91
+ st.text(type(answer))
92
  # bei incoming pdf
93
 
94
  #vectorstore_DB=get_vectorstore() # bei Abfrage durch Chatbot