capcut-agent/캡컷_에이전트_구간합치기.bat
hehihoho3@gmail.com bf1b387d6d chore: git 저장소 초기화 (기존 코드 스냅샷)
컷별 댓글 추천 작업을 태스크 단위로 되돌릴 수 있게 버전관리를 시작한다.
.gitignore 로 영상·캐시(.downloads 2.7G, .comments 72M, .media 28M)와
비밀키(.gemini_key)를 제외했다.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-04 11:36:05 +09:00

40 lines
1.2 KiB
Batchfile

@echo off
chcp 65001 >nul
title CapCut Agent (Multi-Range)
cd /d "%~dp0"
echo.
echo ============================================
echo CapCut Agent - Multi-Range (v2)
echo ============================================
echo.
echo URL : http://127.0.0.1:8001
echo - One URL + multiple time ranges, merged into one draft.
echo - Browser opens automatically in a few seconds.
echo - KEEP THIS WINDOW OPEN. Close it to stop the server.
echo.
REM Python 확인
where python >nul 2>nul
if errorlevel 1 (
echo [ERROR] python not found on PATH.
echo Install Python from python.org and re-run.
echo.
pause
exit /b 1
)
REM 잠시 후 브라우저 열기(서버 뜬 다음). 분리 실행. (v1과 다른 포트 8001 → 동시 실행 가능)
start "" powershell -NoProfile -WindowStyle Hidden -Command "Start-Sleep 3; Start-Process 'http://127.0.0.1:8001'"
REM 서버를 이 창에서 실행(로그/에러가 보임)
python -m uvicorn server.app:app --port 8001
echo.
echo ============================================
echo Server stopped.
echo ============================================
echo (If it failed instantly, read the error above.)
echo.
pause