Koi4595 commited on
Commit
f508b41
1 Parent(s): fdf42cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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/blob/main/project2_commit.ipynb', as_version=4)
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)