3.3 KiB
3.3 KiB
In [ ]:
!git clone https://github.com/harry0703/MoneyPrinterTurbo.git
%cd MoneyPrinterTurbo
!pip install -q -r requirements.txt
!pip install pyngrok --quietIn [ ]:
from pyngrok import ngrok
# Terminate any existing ngrok tunnels
ngrok.kill()
# Set your authentication token
# Replace "your_ngrok_auth_token" with your actual token
ngrok.set_auth_token("your_ngrok_auth_token")In [ ]:
import subprocess
import time
print("🚀 Starting MoneyPrinterTurbo...")
# Start Streamlit server on port 8501
streamlit_proc = subprocess.Popen([
"streamlit", "run", "./webui/Main.py", "--server.port=8501"
])
# Wait for the server to initialize
time.sleep(5)
print("🌐 Creating ngrok tunnel to expose the MoneyPrinterTurbo...")
public_url = ngrok.connect(8501, bind_tls=True)
print("✅ Deployment complete! Access your MoneyPrinterTurbo at:")
print(public_url)