【发布时间】:2020-03-24 06:36:37
【问题描述】:
我正在尝试使用以下内容从 Google Colab 笔记本中提供一些 HTML:
from IPython.display import IFrame
IFrame(src='./output/index.html', width=700, height=600)
但是,这会抛出 localhost refused to connect:
有谁知道我如何在 Colab 笔记本中提供 index.html 中的 html(必须加载 javascript)?任何指针将不胜感激!
【问题讨论】:
标签: javascript iframe jupyter google-colaboratory