Update pages/bot.py
Browse files- pages/bot.py +3 -1
pages/bot.py
CHANGED
@@ -112,7 +112,9 @@ def main():
|
|
112 |
#st.text(answer)
|
113 |
|
114 |
#Die Basisantwort müsste man jetzt ausformulieren
|
115 |
-
|
|
|
|
|
116 |
|
117 |
if __name__ == '__main__':
|
118 |
main()
|
|
|
112 |
#st.text(answer)
|
113 |
|
114 |
#Die Basisantwort müsste man jetzt ausformulieren
|
115 |
+
text2text_generator = pipeline("text2text-generation")
|
116 |
+
newText=text2text_generator(question=question context=answer)
|
117 |
+
st.text(newText)
|
118 |
|
119 |
if __name__ == '__main__':
|
120 |
main()
|