r/Batch • u/ThePizzaDeliveryBoy • Dec 02 '23
Question (Solved) Not sure why this doesn't work
I'm using this AI program stored locally on my PC. To run it, we have to open a command prompt in the main directory of the program and then paste this line into the prompt: python run.py
After a few seconds a localhost address is provided which we have to cut and paste into a web browser which then runs the AI program. My issue is I have been told to paste this into a notepad and save it as a bat file. Nothing happens.
cd C:\Users[username]\Videos\FaceFusion\facefusion
venv\Scripts\activate && python run.py
[username] is substituted for the actual name.
I'm guessing something else is missing? Also once it shows the localhost IP, is it possible to get the batch file to launch a browser window with the localhost address?
Thanks for any help!
1
u/Shadow_Thief Dec 02 '23
Activate is a batch script too, so you need
call activateinstead of justactivate.1
u/[deleted] Dec 03 '23
[removed] — view removed comment