如何在repl.it中部署流式应用程序?

时间:2020-07-23 15:56:17

标签: python repl.it streamlit

我安装/导入了streamlitnumpypandas,但是我不知道如何看到自己制作的图表。如何在repl.it上部署它?

1 个答案:

答案 0 :(得分:1)

您不能在 repl.it 中部署 Streamlit 应用程序,因为

<块引用>

为了防止 CSRF 攻击,我们会随每个请求发送一个 cookie。 为此,我们必须指定允许的来源,这对 跨域资源共享。

一种解决方案是将您的代码从 repl.it 推送到 GitHub。然后从 GitHub 部署到 share.streamlit.io。