bgregorutti commited on
Commit
97c0116
·
1 Parent(s): e292ca9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -49,7 +49,8 @@ if text:
49
  for row in resultats[:3]:
50
  st.json(row[0])
51
  else:
52
- st.json("No article found in the database\n\n")
 
53
 
54
 
55
  conn.close()
 
49
  for row in resultats[:3]:
50
  st.json(row[0])
51
  else:
52
+ st.write("No article found in the database\n\n")
53
+ st.json({})
54
 
55
 
56
  conn.close()