Spaces:
Running
Running
darsoarafa
commited on
Update app.py
Browse files
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()}"
|