简体   繁体   English

Streamlit 不显示外部 url 选项

[英]Streamlit does not display external url option

I'm running the streamlit demo-self-driving:我正在运行streamlit demo-self-driving:

https://github.com/streamlit/demo-self-driving https://github.com/streamlit/demo-self-driving

first I'm trying on a lightsail instance as:首先,我尝试将 Lightsail 实例作为:

streamlit run https://raw.githubusercontent.com/streamlit/demo-self-driving/master/streamlit_app.py 

I get the following response:我收到以下回复:

在此处输入图片说明

But when I run the same code on a EC2 p3.large instance I get this response:但是当我在 EC2 p3.large 实例上运行相同的代码时,我得到了这个响应:

在此处输入图片说明

The IP is a public one, hence I'm not able to open the interface from the local machine IP是公共的,因此我无法从本地机器打开接口

运行方式:streamlit run your_app.py --server.headless=true

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM