I am trying to serve some HTML from a Google Colab notebook using the following:(我正在尝试使用以下方法从Google Colab笔记本提供一些HTML:)
from IPython.display import IFrame
IFrame(src='./output/index.html', width=700, height=600)
However, this throws localhost refused to connect
:(但是,这抛出localhost refused to connect
:)
Does anyone know how I can serve the html in index.html (which must load javascript) inside the Colab notebook?(有谁知道我如何在Colab笔记本中为index.html(必须加载javascript)中的html提供服务?) Any pointers would be hugely appreciated!(任何指针将不胜感激!)
ask by duhaime translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…