@@ -178,6 +178,7 @@ async def make_anchor_video_eng(req:request_eng):
async def history_input():
db = dataset.connect('mysql://choozmo:pAssw0rd@db.ptt.cx:3306/AI_anchor?charset=utf8mb4')
statement = 'SELECT * FROM history_input ORDER BY timestamp DESC LIMIT 50'
+ statement = 'SELECT * FROM history_input ORDER BY timestamp DESC'
logs = []
for row in db.query(statement):
logs.append({'id':row['id'],'name':row['name'],'text_content':row['text_content'].split(','),'link':row['link'],'image_urls':row['image_urls'].split(',')})