Spaces:
Running
Running
File size: 442 Bytes
72fe634 8da6e34 72fe634 8da6e34 72fe634 8da6e34 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
#!/bin/bash
# Navigate to your app's directory
cd /home/aliasgarov/copyright_checker
# Pull the latest changes from the main branch
git pull origin main
# Kill the running Gradio
sudo pkill -f "app.py"
# Activate your Python environment if necessary
source /home/aliasgarov/copyright_checker/copy_check/bin/activate
# Start your Gradio app (adjust the command as needed)
nohup sudo python3 /home/aliasgarov/copyright_checker/app.py &
|