Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import streamlit as st
|
2 |
import nbformat
|
3 |
from nbconvert import HTMLExporter
|
4 |
-
notebook = nbformat.read('https://huggingface.co/spaces/Koi4595/SI649_project_ningzr/
|
5 |
# 将 Notebook 转换为 HTML
|
6 |
html_exporter = HTMLExporter()
|
7 |
html_data, resources = html_exporter.from_notebook_node(notebook)
|
|
|
1 |
import streamlit as st
|
2 |
import nbformat
|
3 |
from nbconvert import HTMLExporter
|
4 |
+
notebook = nbformat.read('https://huggingface.co/spaces/Koi4595/SI649_project_ningzr/raw/main/project2_commit.ipynb', as_version=4)
|
5 |
# 将 Notebook 转换为 HTML
|
6 |
html_exporter = HTMLExporter()
|
7 |
html_data, resources = html_exporter.from_notebook_node(notebook)
|