Shymaa2611 commited on
Commit ·
bba2fd8
1
Parent(s): 06ee2ee
update database
Browse files- db_utils.py +1 -1
db_utils.py
CHANGED
|
@@ -36,7 +36,7 @@ def get_latest_prediction():
|
|
| 36 |
SELECT input, predicted_class, probability, timestamp
|
| 37 |
FROM predictions
|
| 38 |
ORDER BY id DESC
|
| 39 |
-
LIMIT
|
| 40 |
''')
|
| 41 |
row = c.fetchone()
|
| 42 |
conn.close()
|
|
|
|
| 36 |
SELECT input, predicted_class, probability, timestamp
|
| 37 |
FROM predictions
|
| 38 |
ORDER BY id DESC
|
| 39 |
+
LIMIT 2
|
| 40 |
''')
|
| 41 |
row = c.fetchone()
|
| 42 |
conn.close()
|