com3dian commited on
Commit
6f670c5
·
verified ·
1 Parent(s): aeee731

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -2,6 +2,7 @@ import streamlit as st
2
  import pandas as pd
3
  import numpy as np
4
  import os
 
5
  import torch
6
  from grobidmonkey import reader
7
 
@@ -73,6 +74,10 @@ if uploaded_file is not None:
73
  # for summ in summ_text:
74
  # st.write(summ)
75
 
 
 
 
 
76
  # Function to render HTML content
77
  def render_html(text):
78
  return f"<div>{text}</div>"
 
2
  import pandas as pd
3
  import numpy as np
4
  import os
5
+ import pickle
6
  import torch
7
  from grobidmonkey import reader
8
 
 
74
  # for summ in summ_text:
75
  # st.write(summ)
76
 
77
+
78
+ with open('slides_text.pkl', 'rb') as file:
79
+ summ_text = pickle.load(file)
80
+
81
  # Function to render HTML content
82
  def render_html(text):
83
  return f"<div>{text}</div>"