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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -389,3 +389,12 @@ if len(history) >= 2 and history[-2]["role"] == "user" and history[-1]["role"] =
389
  st.error("You disliked this response 👎")
390
 
391
  st.markdown("---")
 
 
 
 
 
 
 
 
 
 
389
  st.error("You disliked this response 👎")
390
 
391
  st.markdown("---")
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
+