Final fix chatbot
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Kommentar Test
|
|
||||||
import random
|
import random
|
||||||
|
|
||||||
print ("Hallo! Willkommen bei MikaGPT. Was kann ich für Sie tun?")
|
print ("Hallo! Willkommen bei MikaGPT. Was kann ich für Sie tun?")
|
||||||
@@ -14,7 +14,7 @@ while True:
|
|||||||
uinput = (input("Bitte Eingabe beginnen ").lower().split())
|
uinput = (input("Bitte Eingabe beginnen ").lower().split())
|
||||||
if "bye" in uinput:
|
if "bye" in uinput:
|
||||||
print("MikaGPT wird nun beendet.")
|
print("MikaGPT wird nun beendet.")
|
||||||
continue
|
break
|
||||||
|
|
||||||
randoma = set(uinput).isdisjoint(set(woerter))
|
randoma = set(uinput).isdisjoint(set(woerter))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user