Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
396 |
-
|
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 |
|