Update pages/bot.py
Browse files- 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-
|
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)
|