LASER / view_logs.sh
moqingyan123
final fixes
888f9e4
#!/bin/bash
echo "=== Gradio App Log File ==="
if [ -f /home/user/app/gradio_app.log ]; then
tail -f /home/user/app/gradio_app.log
else
echo "Log file not found. Waiting for app to create it..."
sleep 2
if [ -f /home/user/app/gradio_app.log ]; then
tail -f /home/user/app/gradio_app.log
else
echo "Log file still not found. App may not have restarted yet."
fi
fi