ErikH commited on
Commit
4eaef39
1 Parent(s): 3c768b6

Update pages/bot.py

Browse files
Files changed (1) hide show
  1. pages/bot.py +1 -1
pages/bot.py CHANGED
@@ -113,7 +113,7 @@ def main():
113
  #st.text(answer)
114
 
115
  #Die Basisantwort müsste man jetzt ausformulieren
116
- text2text_generator = pipeline("text2text-generation", model="google/flan-t5-xl")
117
  #newText=text2text_generator(question=question, context=answer)
118
  newText=text2text_generator("Formuliere einen neuen Satz. Frage: "+question+ " Antwort: " + answer["answer"])
119
  st.text(newText)
 
113
  #st.text(answer)
114
 
115
  #Die Basisantwort müsste man jetzt ausformulieren
116
+ text2text_generator = pipeline("text2text-generation", model="google/flan-t5-xxl")
117
  #newText=text2text_generator(question=question, context=answer)
118
  newText=text2text_generator("Formuliere einen neuen Satz. Frage: "+question+ " Antwort: " + answer["answer"])
119
  st.text(newText)