nakhzai commited on
Commit
1e1ba08
·
verified ·
1 Parent(s): f680d12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -392,9 +392,7 @@ if len(history) >= 2 and history[-2]["role"] == "user" and history[-1]["role"] =
392
 
393
  # ✅ STEP 6: Launch Streamlit via ngrok
394
 
395
- from pyngrok import ngrok
396
- public_url = ngrok.connect(8501)
397
- print("🔗 Public URL:", public_url)
398
 
399
- !streamlit run app.py --server.port 8501 --server.address 0.0.0.0
400
 
 
392
 
393
  # ✅ STEP 6: Launch Streamlit via ngrok
394
 
395
+ !wget -q -O - ipv4.icanhazip.com
396
+ !streamlit run app.py & npx localtunnel --port 8501
 
397
 
 
398