File size: 419 Bytes
48bb68b
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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