misinfo_detection_app / src /bash /update_fact_checks.sh
stefanjwojcik's picture
Upload 24 files
48bb68b verified
raw
history blame contribute delete
419 Bytes
#!/bin/bash
# Script to Run periodic updates for the fact-check model
# Set the working directory
cd /home/ubuntu/fact-check
# path to julia
JULIA=/home/swojcik/.juliaup/bin/julia
# Run load_fact_check_json() from google_fact_check_api.jl to get the latest data
$JULIA -e 'include(`src/google_fact_check_api.jl`); load_fact_check_json()'
# Run the python script that goes and updates the fact-check model data