input/output
This commit is contained in:
parent
7ec13c6b4f
commit
2c7aa6bc3c
1 changed files with 10 additions and 0 deletions
10
py/simple_chat.py
Normal file
10
py/simple_chat.py
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
from api import api
|
||||||
|
|
||||||
|
chat1 = api()
|
||||||
|
|
||||||
|
while True:
|
||||||
|
print("Gib deine Frage ein")
|
||||||
|
input_text = input()
|
||||||
|
|
||||||
|
output_text = api.send_message(chat1, input_text)
|
||||||
|
print(output_text)
|
Loading…
Reference in a new issue