Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def chatbot(input):
|
|
15 |
model="gpt-3.5-turbo", messages=messages
|
16 |
)
|
17 |
reply = chat.choices[0].message.content
|
18 |
-
messages.append({"role": "assistant", "content": reply})
|
19 |
return reply
|
20 |
|
21 |
inputs = gr.inputs.Textbox(lines=7, label="Chat with AI")
|
|
|
15 |
model="gpt-3.5-turbo", messages=messages
|
16 |
)
|
17 |
reply = chat.choices[0].message.content
|
18 |
+
messages.append({"role": "astrologer assistant", "content": reply})
|
19 |
return reply
|
20 |
|
21 |
inputs = gr.inputs.Textbox(lines=7, label="Chat with AI")
|