Spaces:
Running
Running
#!/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 | |
pkill -f "app.py" | |
# Activate your Python environment if necessary | |
# source /path/to/your/venv/bin/activate | |
# Start your Gradio app (adjust the command as needed) | |
nohup python app.py & | |