Minor changes in Docker container

This commit is contained in:
Heiko Joerg Schick
2023-08-30 14:16:25 +02:00
parent bee3df79f4
commit 381b4ba7ff
5 changed files with 74 additions and 10 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
python3 /app/arxiv_daemon.py --num 100
if [ $? -eq 0 ]; then
echo "New papers detected! Running compute.py"
python3 /app/compute.py
else
echo "No new papers were added, skipping feature computation"
fi