darsoarafa commited on
Commit
116837a
·
verified ·
1 Parent(s): dd3635d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -167,7 +167,7 @@ async def post_chat(
167
  # add new messages (e.g. the user prompt and the agent response in this case) to the database
168
  print("---",result.new_messages_json(),"---")
169
  #print("***",prompt,"***")
170
- await database.add_messages(result.new_messages_json())
171
  async def ds_messages(prompt1):
172
  try:
173
  prompt2=f"{prompt1}. Hari ini adalah tanggal {date.today()}"
 
167
  # add new messages (e.g. the user prompt and the agent response in this case) to the database
168
  print("---",result.new_messages_json(),"---")
169
  #print("***",prompt,"***")
170
+ #await database.add_messages(result.new_messages_json())
171
  async def ds_messages(prompt1):
172
  try:
173
  prompt2=f"{prompt1}. Hari ini adalah tanggal {date.today()}"